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

Public Attributes | |
| uint32_t | struct_version |
| const void * | p_next |
| occtl_node_id_t | root |
| double | max_normal_angle |
| int32_t | include_opposite_normals |
Options for occtl_mesh_triangle_components.
Components are grown across triangle adjacency when neighbouring triangle normals differ by no more than max_normal_angle. When include_opposite_normals is non-zero, normals with opposite signs are treated as equivalent by comparing abs(dot(n0,n1)); this is useful for imported triangle soups with inconsistent winding.
| int32_t occtl_mesh_triangle_components_options::include_opposite_normals |
0/1; compare absolute normal dot product. Default 1.
| double occtl_mesh_triangle_components_options::max_normal_angle |
Maximum normal angle in radians. Default OCCTL_ANGLE_1_DEG_RAD (1 degree).
| const void* occtl_mesh_triangle_components_options::p_next |
Reserved; set to NULL.
| occtl_node_id_t occtl_mesh_triangle_components_options::root |
Root node to analyse, or OCCTL_NODE_ID_INVALID for whole graph.
| uint32_t occtl_mesh_triangle_components_options::struct_version |
Must be OCCTL_MESH_TRIANGLE_COMPONENTS_OPTIONS_VERSION_1.