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

#include <occtl_topo_relation.h>

Collaboration diagram for occtl_topo_touch_hit:

Public Attributes

occtl_node_id_t node_a
 
occtl_node_id_t node_b
 
occtl_node_id_t support_a
 
occtl_node_id_t support_b
 
occtl_point3_t point_a
 
occtl_point3_t point_b
 
double distance
 
int32_t inner_solution
 

Detailed Description

One contact solution between two graph nodes.

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

Member Data Documentation

◆ distance

double occtl_topo_touch_hit::distance

OCCT distance for this solution.

◆ inner_solution

int32_t occtl_topo_touch_hit::inner_solution

1 when OCCT reports an overlap/inner solution.

◆ node_a

occtl_node_id_t occtl_topo_touch_hit::node_a

First queried node.

◆ node_b

occtl_node_id_t occtl_topo_touch_hit::node_b

Second queried node.

◆ point_a

occtl_point3_t occtl_topo_touch_hit::point_a

Contact / closest point on node_a.

◆ point_b

occtl_point3_t occtl_topo_touch_hit::point_b

Contact / closest point on node_b.

◆ support_a

occtl_node_id_t occtl_topo_touch_hit::support_a

Support node on node_a, or invalid.

◆ support_b

occtl_node_id_t occtl_topo_touch_hit::support_b

Support node on node_b, or invalid.


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