Library | File

Class pfcMassProperty

# include <pfcSolid.h>

class pfcMassProperty
 : public virtual xobject
{
    xdeclare(pfcMassProperty)
    ...
};
This is a COMPACT class.



Description

This class represents solid model mass property data.



Method Summary

static pfcMassProperty_ptrCreate (xreal Volume, xreal SurfaceArea, xreal Density, xreal Mass, pfcPoint3D_ptr GravityCenter, pfcInertia_ptr CoordSysInertia, pfcInertia_ptr CoordSysInertiaTensor, pfcInertia_ptr CenterGravityInertiaTensor, pfcVector3D_ptr PrincipalMoments, pfcPrincipalAxes_ptr PrincipalAxes)
Creates a new object with mass property information.
pfcInertia_ptrGetCenterGravityInertiaTensor ()
voidSetCenterGravityInertiaTensor (pfcInertia_ptr value)
The inertia tensor translated to center of gravity
pfcInertia_ptrGetCoordSysInertia ()
voidSetCoordSysInertia (pfcInertia_ptr value)
The inertia matrix with respect to coordinate frame:(element ij is the integral of x_i x_j over the object)
pfcInertia_ptrGetCoordSysInertiaTensor ()
voidSetCoordSysInertiaTensor (pfcInertia_ptr value)
The inertia tensor with respect to coordinate frame:CoordSysInertiaTensor = trace(CoordSysInertia) * identity - CoordSysInertia
xrealGetDensity ()
voidSetDensity (xreal value)
The density of the model.
pfcPoint3D_ptrGetGravityCenter ()
voidSetGravityCenter (pfcPoint3D_ptr value)
The center of gravity with respect to coordinate frame
xrealGetMass ()
voidSetMass (xreal value)
The model mass.
pfcPrincipalAxes_ptrGetPrincipalAxes ()
voidSetPrincipalAxes (pfcPrincipalAxes_ptr value)
The principal axes (the eigenvectors of CenterGravityInertiaTensor);The vectors are stored in columns.
pfcVector3D_ptrGetPrincipalMoments ()
voidSetPrincipalMoments (pfcVector3D_ptr value)
The principal moments of inertia (eigenvalues of CenterGravityInertiaTensor)
xrealGetSurfaceArea ()
voidSetSurfaceArea (xreal value)
The model's surface area.
xrealGetVolume ()
voidSetVolume (xreal value)
The model's volume.



Method Detail

xrealGetVolume ()
voidSetVolume (xreal value)

The model's volume.




xrealGetSurfaceArea ()
voidSetSurfaceArea (xreal value)

The model's surface area.
Manual References:
Cross Sections: Mass Properties of Cross Sections, Cross Sections: Mass Properties of Cross Sections




xrealGetDensity ()
voidSetDensity (xreal value)

The density of the model.




xrealGetMass ()
voidSetMass (xreal value)

The model mass.




pfcPoint3D_ptrGetGravityCenter ()
voidSetGravityCenter (pfcPoint3D_ptr value)

The center of gravity with respect to coordinate frame
Manual References:
Cross Sections: Mass Properties of Cross Sections, Cross Sections: Mass Properties of Cross Sections




pfcInertia_ptrGetCoordSysInertia ()
voidSetCoordSysInertia (pfcInertia_ptr value)

The inertia matrix with respect to coordinate frame:(element ij is the integral of x_i x_j over the object)
Manual References:
Cross Sections: Mass Properties of Cross Sections, Cross Sections: Mass Properties of Cross Sections




pfcInertia_ptrGetCoordSysInertiaTensor ()
voidSetCoordSysInertiaTensor (pfcInertia_ptr value)

The inertia tensor with respect to coordinate frame:CoordSysInertiaTensor = trace(CoordSysInertia) * identity - CoordSysInertia




pfcInertia_ptrGetCenterGravityInertiaTensor ()
voidSetCenterGravityInertiaTensor (pfcInertia_ptr value)

The inertia tensor translated to center of gravity




pfcVector3D_ptrGetPrincipalMoments ()
voidSetPrincipalMoments (pfcVector3D_ptr value)

The principal moments of inertia (eigenvalues of CenterGravityInertiaTensor)




pfcPrincipalAxes_ptrGetPrincipalAxes ()
voidSetPrincipalAxes (pfcPrincipalAxes_ptr value)

The principal axes (the eigenvectors of CenterGravityInertiaTensor);The vectors are stored in columns.




static pfcMassProperty_ptrCreate (xreal Volume, xreal SurfaceArea, xreal Density, xreal Mass, pfcPoint3D_ptr GravityCenter, pfcInertia_ptr CoordSysInertia, pfcInertia_ptr CoordSysInertiaTensor, pfcInertia_ptr CenterGravityInertiaTensor, pfcVector3D_ptr PrincipalMoments, pfcPrincipalAxes_ptr PrincipalAxes)

Creates a new object with mass property information.
Parameters:
Volume
 
SurfaceArea
 
Density
 
Mass
 
GravityCenter
The center of gravity with respect to coordinate frame
CoordSysInertia
The inertia matrix with respect to coordinate frame:(element ij is the integral of x_i x_j over the object)
CoordSysInertiaTensor
The inertia tensor with respect to coordinate frame:inertia_tensor = trace(inertia) * identity - inertia
CenterGravityInertiaTensor
The inertia tensor translated to center of gravity
PrincipalMoments
The principal moments of inertia (eigenvalues of cg_inertia_tensor)
PrincipalAxes
The principal axes (the eigenvectors of cg_inertia_tensor);The vectors are stored in columns.
Returns: