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

#include <occtl_topo_relation.h>

Collaboration diagram for occtl_topo_distance_pair:

Public Attributes

double distance
 
occtl_point3_t point_a
 
occtl_point3_t point_b
 
occtl_node_id_t support_a
 
occtl_node_id_t support_b
 
int32_t inner_solution
 
int32_t solution_count
 

Detailed Description

Closest-distance result between two graph nodes.

Support nodes are best-effort mappings from OCCT's support shapes back to graph node IDs. They are OCCTL_NODE_ID_INVALID when OCCT reports a support that is not represented by an active graph node.

Member Data Documentation

◆ distance

double occtl_topo_distance_pair::distance

Minimum distance.

◆ inner_solution

int32_t occtl_topo_distance_pair::inner_solution

1 if one shape is inside the other, 0 otherwise.

◆ point_a

occtl_point3_t occtl_topo_distance_pair::point_a

Closest point on the first node.

◆ point_b

occtl_point3_t occtl_topo_distance_pair::point_b

Closest point on the second node.

◆ solution_count

int32_t occtl_topo_distance_pair::solution_count

Number of closest solutions reported by OCCT.

◆ support_a

occtl_node_id_t occtl_topo_distance_pair::support_a

Support node on the first input, or invalid.

◆ support_b

occtl_node_id_t occtl_topo_distance_pair::support_b

Support node on the second input, or invalid.


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