Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Functions
BRepGraph_DefsIterator Namespace Reference

Single-level typed iterators over active child definitions. More...

Data Structures

struct  BaseTraits
 
struct  ChildOfCompoundTraits
 
struct  ChildOfShellTraits
 
struct  ChildOfSolidTraits
 
struct  CoEdgeOfWireTraits
 
class  DefsOfParent
 
class  DefsVertexOfEdge
 Direct active vertex children of an edge. More...
 
struct  EdgeOfWireTraits
 
struct  FaceOfShellTraits
 
struct  OccurrenceOfProductTraits
 
struct  ShellOfSolidTraits
 
struct  SolidOfCompSolidTraits
 
struct  VertexOfFaceTraits
 
struct  WireOfFaceTraits
 

Functions

template<typename ChildIdT >
const BRepGraphInc::BaseDefchildBaseDef (const BRepGraph &theGraph, const ChildIdT theChildId)
 
const BRepGraphInc::BaseDefchildBaseDef (const BRepGraph &theGraph, const BRepGraph_NodeId theChildId)
 

Detailed Description

Single-level typed iterators over active child definitions.

These iterators do not recurse and do not accumulate location/orientation. They provide a lightweight alternative to BRepGraph_ChildExplorer when the caller only needs the direct active children of one parent definition.

The iterator skips:

Function Documentation

◆ childBaseDef() [1/2]

const BRepGraphInc::BaseDef * BRepGraph_DefsIterator::childBaseDef ( const BRepGraph & theGraph,
const BRepGraph_NodeId theChildId )
inline

◆ childBaseDef() [2/2]

template<typename ChildIdT >
const BRepGraphInc::BaseDef * BRepGraph_DefsIterator::childBaseDef ( const BRepGraph & theGraph,
const ChildIdT theChildId )
inline