GeGbl.h
Parameters |
Description |
const OdGePoint3dArray & points |
[in] Array of 3D points (in order of the triangles they form). |
double & volume |
[out] Receives the volume value. |
const OdGePoint3d * basePoint |
[in] Point to replace (0,0,0) for calculation purposes. |
Calculates signed volume of a triangulated solid.
Array of points should be divided by 3 without remainder. Negative sign of volume means that triangles in the solid are ordered clockwise.
Corresponding C++ library: TD_Ge
Copyright © 2002–2020. Open Design Alliance. All rights reserved.
|