Returns volume properties of the ModelerGeometry object.
Parameters
Parameters
Description
volume
[out] Reference for returning the volume of the ModelerGeometry object.
centroid
[out] Reference to an OdGePoint3d object for returning the point, representing the centroid of the ModelerGeometry object.
momInertia
[out] Static array for returning X, Y, Z moments of inertia of the ModelerGeometry object.
prodInertia
[out] Static array for returning X, Y, Z products of inertia of the ModelerGeometry object.
prinMoments
[out] Static array for returning X, Y, Z principal moments of the ModelerGeometry object.
prinAxes
[out] Static array for returning an OdGeVector3d object, determining principal axes of the ModelerGeometry object.
radiiGyration
[out] Static array for returning X, Y, Z radii of gyration of the ModelerGeometry object.
extents
[out] Reference to an OdGeExtents3d object for returning the bounding box of the ModelerGeometry object.
Returns
The result of getting volume properties of the ModelerGeometry object: eOk if successful or an appropriate error code in other case. All properties are evaluated in the WCS.