24#ifndef OCCTL_HPP_HEAL_HPP
25#define OCCTL_HPP_HEAL_HPP
54 Options& set_tolerance(
double t)
60 Options& set_fix_same_parameter(
bool v)
66 Options& set_fix_small_edges(
bool v)
72 Options& set_fix_face_orient(
bool v)
78 Options& set_fix_missing_seam(
bool v)
153 return NodeId(aRoot);
RAII handle for a topology graph. Mirrors occtl_graph_t.
Definition topo.hpp:1444
::occtl_graph_t * get() const noexcept
Borrows-it pointer to the underlying C handle, for direct ABI calls.
Definition topo.hpp:1494
Session-local identity of a graph node. Mirrors occtl_node_id_t.
Definition topo.hpp:52
::occtl_node_id_t get() const noexcept
Borrows-it view of the underlying C value type, for direct ABI calls.
Definition topo.hpp:64
C++ veneer for the core module.
void check(const ::occtl_status_t theStatus)
Throw on non-OK; otherwise a no-op.
Definition core.hpp:85
NodeId unify_same_domain(Graph &theGraph, NodeId theNodeId, const UnifySameDomainOptions &theOptions=UnifySameDomainOptions{})
Unifies same-domain edges/faces and returns the new topology root.
Definition heal.hpp:147
::occtl_heal_mode_t Mode
Healing mode selector.
Definition heal.hpp:35
void heal_shape(Graph &theGraph, NodeId theNodeId, const Options &theOptions=Options{})
Heals the shape referenced by theNodeId and ingests the result as a new topology root into theGraph.
Definition heal.hpp:141
OCCT-Light: shape healing module.
void occtl_heal_unify_same_domain_options_init(occtl_heal_unify_same_domain_options_t *options)
void occtl_heal_options_init(occtl_heal_options_t *options)
enum occtl_heal_mode occtl_heal_mode_t
occtl_status_t occtl_heal_unify_same_domain(occtl_graph_t *graph, occtl_node_id_t node_id, const occtl_heal_unify_same_domain_options_t *options, occtl_node_id_t *out_root)
occtl_status_t occtl_heal_shape(occtl_graph_t *graph, occtl_node_id_t node_id, const occtl_heal_options_t *options)
Versioned options for shape healing.
Definition heal.hpp:45
Versioned options for same-domain unification.
Definition heal.hpp:87
Definition occtl_heal.h:62
double tolerance
Definition occtl_heal.h:66
int32_t fix_same_parameter
Definition occtl_heal.h:67
occtl_heal_mode_t mode
Definition occtl_heal.h:65
int32_t fix_small_edges
Definition occtl_heal.h:68
int32_t fix_face_orient
Definition occtl_heal.h:69
int32_t fix_missing_seam
Definition occtl_heal.h:70
Definition occtl_heal.h:98
double angular_tolerance
Definition occtl_heal.h:107
int32_t unify_faces
Definition occtl_heal.h:102
int32_t allow_internal_edges
Definition occtl_heal.h:104
int32_t concat_bspline
Definition occtl_heal.h:103
int32_t unify_edges
Definition occtl_heal.h:101
double linear_tolerance
Definition occtl_heal.h:106
int32_t safe_input
Definition occtl_heal.h:105
Definition occtl_topo_types.h:50
C++ veneer for the topo module.