|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_topo_build.h>

Public Attributes | |
| double | linear_length |
| double | surface_area |
| double | volume |
| double | mass |
| occtl_point3_t | centre_of_mass |
| double | inertia [9] |
Combined OCCT mass-property value computed for a graph node.
linear_length is the total curve length of edges in the shape, surface_area is the total face area, and volume is the signed solid volume. mass uses unit density and follows the highest non-zero dimensional property: volume, then area, then length. The inertia matrix is row-major, about centre_of_mass, in the global XYZ frame.
| occtl_point3_t occtl_graph_mass_properties::centre_of_mass |
Centre of mass for mass.
| double occtl_graph_mass_properties::inertia[9] |
Row-major 3x3 inertia matrix.
| double occtl_graph_mass_properties::linear_length |
Total edge length.
| double occtl_graph_mass_properties::mass |
Unit-density mass for the highest non-zero dimension.
| double occtl_graph_mass_properties::surface_area |
Total face area.
| double occtl_graph_mass_properties::volume |
Signed solid volume.