OCCT3D About OCCT
Open CASCADE Technology Reference Manual 8.0.1
Loading...
Searching...
No Matches
Public Member Functions
BRepGraph_SupplementIterator Class Reference

Iterator over supplemental TopoDS attachments owned by one core node. More...

#include <BRepGraph_SupplementIterator.hxx>

Public Member Functions

 BRepGraph_SupplementIterator (const BRepGraph &theGraph, const BRepGraph_NodeId theOwner)
 Construct an iterator over supplement attachments of one owner.
 
bool More () const
 Return true when the iterator currently points to an attachment.
 
void Next ()
 Advance to the next attachment.
 
uint64_t Uid () const
 Return the current layer-local attachment uid.
 
const BRepGraph_LayerTopoSupplement::EntryValue () const
 Return the current attachment entry.
 
NCollection_ForwardRangeIterator< BRepGraph_SupplementIteratorbegin ()
 STL range-for support.
 
NCollection_ForwardRangeSentinel end () const
 Sentinel marking end of iteration.
 

Detailed Description

Iterator over supplemental TopoDS attachments owned by one core node.

The iterator resolves BRepGraph_LayerTopoSupplement through the graph layer registry and yields only explicit supplement attachments. Core traversal remains core-only and does not surface these entries.

Constructor & Destructor Documentation

◆ BRepGraph_SupplementIterator()

BRepGraph_SupplementIterator::BRepGraph_SupplementIterator ( const BRepGraph & theGraph,
const BRepGraph_NodeId theOwner )
inlineexplicit

Construct an iterator over supplement attachments of one owner.

Parameters
[in]theGraphgraph providing the supplement layer
[in]theOwnercore owner node whose attachments should be iterated

Member Function Documentation

◆ begin()

NCollection_ForwardRangeIterator< BRepGraph_SupplementIterator > BRepGraph_SupplementIterator::begin ( )
inline

STL range-for support.

◆ end()

NCollection_ForwardRangeSentinel BRepGraph_SupplementIterator::end ( ) const
inline

Sentinel marking end of iteration.

◆ More()

bool BRepGraph_SupplementIterator::More ( ) const
inline

Return true when the iterator currently points to an attachment.

◆ Next()

void BRepGraph_SupplementIterator::Next ( )
inline

Advance to the next attachment.

◆ Uid()

uint64_t BRepGraph_SupplementIterator::Uid ( ) const
inline

Return the current layer-local attachment uid.

◆ Value()

const BRepGraph_LayerTopoSupplement::Entry & BRepGraph_SupplementIterator::Value ( ) const
inline

Return the current attachment entry.


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