API Documentation > Classes > Class pfcMassProperty
Class pfcMassProperty
Description
This class represents solid model mass property data.
Property Summary
The inertia tensor translated to center of gravity
The inertia matrix with respect to coordinate frame:(element ij is the integral of x_i x_j over the object)
The inertia tensor with respect to coordinate frame:CoordSysInertiaTensor = trace(CoordSysInertia) * identity - CoordSysInertia
number
The density of the model.
The center of gravity with respect to coordinate frame
number
The model mass.
The principal axes (the eigenvectors of CenterGravityInertiaTensor);The vectors are stored in columns.
The principal moments of inertia (eigenvalues of CenterGravityInertiaTensor)
number
The model's surface area.
number
The model's volume.
Method Summary
Create (number Volume, number SurfaceArea, number Density, number Mass, pfcPoint3D GravityCenter, pfcInertia CoordSysInertia, pfcInertia CoordSysInertiaTensor, pfcInertia CenterGravityInertiaTensor, pfcVector3D PrincipalMoments, pfcPrincipalAxes PrincipalAxes)
Creates a new object with mass property information.
Property Detail
CenterGravityInertiaTensor
The inertia tensor translated to center of gravity
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:CoordSysInertiaTensor = trace(CoordSysInertia) * identity - CoordSysInertia
number
Density
The density of the model.
GravityCenter
The center of gravity with respect to coordinate frame
number
Mass
The model mass.
PrincipalAxes
The principal axes (the eigenvectors of CenterGravityInertiaTensor);The vectors are stored in columns.
PrincipalMoments
The principal moments of inertia (eigenvalues of CenterGravityInertiaTensor)
number
SurfaceArea
The model's surface area.
number
Volume
The model's volume.
Method Detail
Create
(number Volume, number SurfaceArea, number Density, number Mass, pfcPoint3D GravityCenter, pfcInertia CoordSysInertia, pfcInertia CoordSysInertiaTensor, pfcInertia CenterGravityInertiaTensor, pfcVector3D PrincipalMoments, pfcPrincipalAxes 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:
Was this helpful?