|
OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
|
#include <occtl_topo_relation.h>

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 |
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.
| double occtl_topo_touch_hit::distance |
OCCT distance for this solution.
| int32_t occtl_topo_touch_hit::inner_solution |
1 when OCCT reports an overlap/inner solution.
| occtl_node_id_t occtl_topo_touch_hit::node_a |
First queried node.
| occtl_node_id_t occtl_topo_touch_hit::node_b |
Second queried node.
| occtl_point3_t occtl_topo_touch_hit::point_a |
Contact / closest point on node_a.
| occtl_point3_t occtl_topo_touch_hit::point_b |
Contact / closest point on node_b.
| occtl_node_id_t occtl_topo_touch_hit::support_a |
Support node on node_a, or invalid.
| occtl_node_id_t occtl_topo_touch_hit::support_b |
Support node on node_b, or invalid.