|
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 |
| double | max_distance |
| double | min_area |
| uint32_t | min_triangle_count |
Options for occtl_mesh_triangle_plane_components.
Components are first built with the same normal-angle rules as occtl_mesh_triangle_components. A component is accepted as plane-like when it satisfies the minimum size filters and every triangle vertex is within max_distance of the component plane.
| int32_t occtl_mesh_triangle_plane_components_options::include_opposite_normals |
0/1; compare absolute normal dot product. Default 1.
| double occtl_mesh_triangle_plane_components_options::max_distance |
Maximum vertex distance to fitted plane. Default 1.0e-6.
| double occtl_mesh_triangle_plane_components_options::max_normal_angle |
Maximum normal angle in radians. Default OCCTL_ANGLE_1_DEG_RAD (1 degree).
| double occtl_mesh_triangle_plane_components_options::min_area |
Minimum component area. Default 0.0.
| uint32_t occtl_mesh_triangle_plane_components_options::min_triangle_count |
Minimum component triangle count. Default 1.
| const void* occtl_mesh_triangle_plane_components_options::p_next |
Reserved; set to NULL.
| occtl_node_id_t occtl_mesh_triangle_plane_components_options::root |
Root node to analyse, or OCCTL_NODE_ID_INVALID for whole graph.
| uint32_t occtl_mesh_triangle_plane_components_options::struct_version |
Must be OCCTL_MESH_TRIANGLE_PLANE_COMPONENTS_OPTIONS_VERSION_1.