Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Fields
BRepGraph_ParentExplorer::Config Struct Reference

Consolidated configuration for the explorer. More...

#include <BRepGraph_ParentExplorer.hxx>

Data Fields

TraversalMode Mode = TraversalMode::Recursive
 
std::optional< BRepGraph_NodeId::KindTargetKind
 Emit only this kind (no value = emit all).
 
std::optional< BRepGraph_NodeId::KindAvoidKind
 Do not ascend through this kind.
 
bool EmitAvoidKind = false
 Emit matching avoid-kind ancestors once.
 

Detailed Description

Consolidated configuration for the explorer.

Prefer this struct over the historical constructor family. The overloads remain supported but the Config-based constructor is the long-term idiom: new options can be added as fields without another ctor overload.

for (auto [id, loc, ori] : BRepGraph_ParentExplorer(aGraph, aNode, aConfig)) { ... }
Upward occurrence-aware parent traversal for BRepGraph.
Definition BRepGraph_ParentExplorer.hxx:54
@ DirectParents
Yields only the immediate parents of the starting node.
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142
Consolidated configuration for the explorer.
Definition BRepGraph_ParentExplorer.hxx:86

Field Documentation

◆ AvoidKind

std::optional<BRepGraph_NodeId::Kind> BRepGraph_ParentExplorer::Config::AvoidKind

Do not ascend through this kind.

◆ EmitAvoidKind

bool BRepGraph_ParentExplorer::Config::EmitAvoidKind = false

Emit matching avoid-kind ancestors once.

◆ Mode

TraversalMode BRepGraph_ParentExplorer::Config::Mode = TraversalMode::Recursive

◆ TargetKind

std::optional<BRepGraph_NodeId::Kind> BRepGraph_ParentExplorer::Config::TargetKind

Emit only this kind (no value = emit all).


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