Parameters |
Description |
const OdGePoint3d& origin |
[in] Origin of the coordinate system to use for evaluation (WCS). |
const OdGeVector3d& xAxis |
[in] X-axis of the coordinate system to use for evaluation (WCS). |
const OdGeVector3d& yAxis |
[in] Y-axis of the coordinate system to use for evaluation (WCS). |
double& perimeter |
[out] Reference for returning the value of the ModelerGeometry object's perimeter. |
double& area |
[out] Reference for returning the value of the ModelerGeometry object's area. |
OdGePoint2d& centroid |
[out] Reference for returning the centroid of the ModelerGeometry object. |
double momInertia[2] |
[out] Static array for returning moments of inertia for the ModelerGeometry object. |
double& prodInertia |
[out] Reference for returning the ModelerGeometry object's product of inertia. |
double prinMoments[2] |
[out] Static array for returning principal moments for the ModelerGeometry object. |
OdGeVector2d prinAxes[2] |
[out] Static array for returning principle axes of the ModelerGeometry object. |
double radiiGyration[2] |
[out] Static array for returning radii of gyration of the ModelerGeometry object. |
OdGePoint2d& extentsLow |
[out] Reference for returning the ModelerGeometry object's minimum extents point. |
OdGePoint2d& extentsHigh |
[out] Reference for returning the ModelerGeometry object's maximum extents point. |
Returns eOk if successful, or an appropriate error code otherwise.
Calculates the area properties of this ModelerGeometry object.
The method validates the origin, xAxis, and yAxis parameters to ensure that:
Returned values are measured using the values of origin, xAxis, and yAxis parameters, and are represented in WCS coordinates.
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|