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

#include <occtl_mesh.h>

Collaboration diagram for occtl_mesh_triangle_sphere_component:

Public Attributes

uint32_t component_id
 
uint32_t triangle_count
 
double area
 
occtl_point3_t center
 
double radius
 
occtl_aabb3_t bounds
 
double max_distance
 

Detailed Description

Sphere-like normal-connected triangle component.

The sphere is represented by center and positive radius. max_distance is the largest absolute radial residual among all component triangle vertices.

Member Data Documentation

◆ area

double occtl_mesh_triangle_sphere_component::area

Total component area.

◆ bounds

occtl_aabb3_t occtl_mesh_triangle_sphere_component::bounds

Axis-aligned bounds of all component triangle vertices.

◆ center

occtl_point3_t occtl_mesh_triangle_sphere_component::center

Fitted sphere centre.

◆ component_id

uint32_t occtl_mesh_triangle_sphere_component::component_id

Source normal-connected component ID.

◆ max_distance

double occtl_mesh_triangle_sphere_component::max_distance

Maximum absolute radial residual.

◆ radius

double occtl_mesh_triangle_sphere_component::radius

Fitted sphere radius.

◆ triangle_count

uint32_t occtl_mesh_triangle_sphere_component::triangle_count

Number of triangles in this component.


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