VolumeMassProperties Class 
Namespace: Rhino.Geometry
The VolumeMassProperties type exposes the following members.
Name  Description  

Centroid 
Gets the volume centroid in the world coordinate system.
 
CentroidCoordinatesMomentsOfInertia 
Moments of inertia with respect to centroid coordinate system.
X = integral of ((yy0)^2 + (zz0)^2) dm
Y = integral of ((zz0)^2 + (xx0)^2) dm
Z = integral of ((zz0)^2 + (yy0)^2) dm
where (x0,y0,z0) = centroid.
 
CentroidCoordinatesMomentsOfInertiaError 
Uncertainty in centroid coordinates moments of inertia calculation.
 
CentroidCoordinatesProductMoments 
Product moments with respect to centroid coordinate system.
 
CentroidCoordinatesProductMomentsError 
Uncertainty in product moments with respect to centroid coordinate system.
 
CentroidCoordinatesRadiiOfGyration 
Radii of gyration with respect to centroid coordinate system.
X = sqrt(integral of ((yy0)^2 + (zz0)^2) dm/M)
Y = sqrt(integral of ((zz0)^2 + (xx0)^2) dm/M)
Z = sqrt(integral of ((zz0)^2 + (yy0)^2) dm/M)
where (x0,y0,z0) = centroid.
 
CentroidCoordinatesSecondMoments 
Second moments with respect to centroid coordinate system.
X = integral of (xx0)^2 dm
Y = integral of (yy0)^2 dm
Z = integral of (zz0)^2 dm
where (x0,y0,z0) = centroid.
 
CentroidCoordinatesSecondMomentsError 
Uncertainty in centroid coordinates second moments calculation.
 
CentroidError 
Gets the uncertainty in the Centroid calculation.
 
Volume 
Gets the volume solution.
 
VolumeError 
Gets the uncertainty in the volume calculation.
 
WorldCoordinatesFirstMoments 
Returns the world coordinate first moments if they were able to be calculated.
X is integral of "x dm" over the volume
Y is integral of "y dm" over the volume
Z is integral of "z dm" over the volume.
 
WorldCoordinatesFirstMomentsError 
Uncertainty in world coordinates first moments calculation.
 
WorldCoordinatesMomentsOfInertia 
The moments of inertia about the world coordinate axes.
X = integral of (y^2 + z^2) dm
Y = integral of (z^2 + x^2) dm
Z = integral of (z^2 + y^2) dm.
 
WorldCoordinatesMomentsOfInertiaError 
Uncertainty in world coordinates moments of inertia calculation.
 
WorldCoordinatesProductMoments 
Returns the world coordinate product moments if they were able to be calculated.
X is integral of "xy dm" over the volume
Y is integral of "yz dm" over the volume
Z is integral of "zx dm" over the volume.
 
WorldCoordinatesProductMomentsError 
Uncertainty in world coordinates second moments calculation.
 
WorldCoordinatesRadiiOfGyration 
Radii of gyration with respect to world coordinate system.
X = sqrt(integral of (y^2 + z^2) dm/M)
Y = sqrt(integral of (z^2 + x^2) dm/M)
Z = sqrt(integral of (z^2 + y^2) dm/M)
 
WorldCoordinatesSecondMoments 
Returns the world coordinate second moments if they were able to be calculated.
X is integral of "xx dm" over the volume
Y is integral of "yy dm" over the volume
Z is integral of "zz dm" over the volume.
 
WorldCoordinatesSecondMomentsError 
Uncertainty in world coordinates second moments calculation.

Name  Description  

CentroidCoordinatesPrincipalMoments 
Calculates the eigenvalues and eigenvectors of the moments matrix with repect to centroid coordinates.
 
CentroidCoordinatesPrincipalMomentsOfInertia 
Calculates the principal moments of inertia and principal axes with repect to centroid coordinates.
 
Compute(Brep) 
Compute the VolumeMassProperties for a single Brep.
 
Compute(IEnumerableGeometryBase) 
Computes the VolumeMassProperties for a collection of geometric objects.
At present only Breps, Surfaces, and Meshes are supported.
 
Compute(Mesh) 
Compute the VolumeMassProperties for a single Mesh.
 
Compute(Surface) 
Compute the VolumeMassProperties for a single Surface.
 
Compute(Brep, Boolean, Boolean, Boolean, Boolean) 
Compute the VolumeMassProperties for a single Brep.
 
Compute(IEnumerableGeometryBase, Boolean, Boolean, Boolean, Boolean) 
Computes the VolumeMassProperties for a collection of geometric objects.
At present only Breps, Surfaces, Meshes and Planar Closed Curves are supported.
 
Compute(Mesh, Boolean, Boolean, Boolean, Boolean) 
Compute the VolumeMassProperties for a single Mesh.
 
Compute(Surface, Boolean, Boolean, Boolean, Boolean) 
Compute the VolumeMassProperties for a single Surface.
 
Dispose 
Actively reclaims unmanaged resources that this instance uses.
 
Dispose(Boolean) 
For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method. You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true. Also, you must call the base virtual method within your overriding method.  
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize 
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
Sum 
Sum mass properties together to get an aggregate mass.
 
ToString  Returns a string that represents the current object. (Inherited from Object.)  
WorldCoordinatesPrincipalMoments 
Calculates the eigenvalues and eigenvectors of moments matrix in world coordinates.
 
WorldCoordinatesPrincipalMomentsOfInertia 
Calculates the principal moments of inertia and principal axes with repect to world coordinates.
