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

C++ veneer for the heal module. More...

#include <occtl-hpp/core.hpp>
#include <occtl-hpp/topo.hpp>
#include <occtl/occtl_heal.h>
Include dependency graph for heal.hpp:

Go to the source code of this file.

Classes

struct  occtl::heal::Options
 Versioned options for shape healing. More...
 
struct  occtl::heal::UnifySameDomainOptions
 Versioned options for same-domain unification. More...
 

Typedefs

using occtl::heal::Mode = ::occtl_heal_mode_t
 Healing mode selector.
 

Functions

void occtl::heal::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.
 
NodeId occtl::heal::unify_same_domain (Graph &theGraph, NodeId theNodeId, const UnifySameDomainOptions &theOptions=UnifySameDomainOptions{})
 Unifies same-domain edges/faces and returns the new topology root.
 

Detailed Description

C++ veneer for the heal module.

Header-only options and exception translation over the C ABI. Local identifiers follow OCCT style.

Function Documentation

◆ heal_shape()

void occtl::heal::heal_shape ( Graph theGraph,
NodeId  theNodeId,
const Options theOptions = Options{} 
)
inline

Heals the shape referenced by theNodeId and ingests the result as a new topology root into theGraph.

Parameters
[in,out]theGraphGraph owning the shape to heal.
[in]theNodeIdRoot node of the shape to heal.
[in]theOptionsHealing configuration; default is STABLE.
Exceptions
Erroron any non-OK status code.