OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl_mesh_triangle_cylinder_component Struct Reference

#include <occtl_mesh.h>

Collaboration diagram for occtl_mesh_triangle_cylinder_component:

Public Attributes

uint32_t component_id
 
uint32_t triangle_count
 
double area
 
occtl_point3_t axis_origin
 
occtl_vector3_t axis_direction
 
double radius
 
double height_min
 
double height_max
 
occtl_aabb3_t bounds
 
double max_distance
 

Detailed Description

Cylinder-like normal-connected triangle component.

The cylinder axis passes through axis_origin in unit direction axis_direction. height_min and height_max are the minimum and maximum vertex projections along that axis relative to axis_origin. max_distance is the largest absolute radial residual among all component triangle vertices.

Member Data Documentation

◆ area

double occtl_mesh_triangle_cylinder_component::area

Total component area.

◆ axis_direction

occtl_vector3_t occtl_mesh_triangle_cylinder_component::axis_direction

Unit fitted cylinder axis direction.

◆ axis_origin

occtl_point3_t occtl_mesh_triangle_cylinder_component::axis_origin

Point on the fitted cylinder axis.

◆ bounds

occtl_aabb3_t occtl_mesh_triangle_cylinder_component::bounds

Axis-aligned bounds of all component triangle vertices.

◆ component_id

uint32_t occtl_mesh_triangle_cylinder_component::component_id

Source normal-connected component ID.

◆ height_max

double occtl_mesh_triangle_cylinder_component::height_max

Maximum vertex projection on axis.

◆ height_min

double occtl_mesh_triangle_cylinder_component::height_min

Minimum vertex projection on axis.

◆ max_distance

double occtl_mesh_triangle_cylinder_component::max_distance

Maximum absolute radial residual.

◆ radius

double occtl_mesh_triangle_cylinder_component::radius

Fitted cylinder radius.

◆ triangle_count

uint32_t occtl_mesh_triangle_cylinder_component::triangle_count

Number of triangles in this component.


The documentation for this struct was generated from the following file: