Get the Geometry property. 更多...
#include <APITopoShapeProperty.h>
Public 成员函数 | |
void | SetShape (const TopoShape &shape) |
Real | EdgeLength () const |
Real | SurfaceArea () const |
Real | SolidVolume () const |
Vector3 | CenterOfMass () const |
Get the Geometry property.
TODO:
Vector3 AnyCAD::API::TopoShapeProperty::CenterOfMass | ( | ) | const |
Compute center of the mass.
Real AnyCAD::API::TopoShapeProperty::EdgeLength | ( | ) | const |
Compute the length of all edges.
void AnyCAD::API::TopoShapeProperty::SetShape | ( | const TopoShape & | shape | ) |
Real AnyCAD::API::TopoShapeProperty::SolidVolume | ( | ) | const |
Compute the volume of all solids.
Real AnyCAD::API::TopoShapeProperty::SurfaceArea | ( | ) | const |
Compute the area of all surfaces.