OCCT3D About OCCT
Open CASCADE Technology Reference Manual 8.0.1
Loading...
Searching...
No Matches
Data Structures
BRepGraph_ReverseIterator Namespace Reference

Single-level typed iterators over parent definitions via relation lists. More...

Data Structures

struct  CompoundFromChildRefTraits
 
struct  CompSolidFromSolidRefTraits
 
struct  DefTraits
 Compile-time traits mapping typed ID to its definition type and accessor. More...
 
struct  DefTraits< BRepGraph_CoEdgeId >
 
struct  DefTraits< BRepGraph_CompoundId >
 
struct  DefTraits< BRepGraph_CompSolidId >
 
struct  DefTraits< BRepGraph_EdgeId >
 
struct  DefTraits< BRepGraph_FaceId >
 
struct  DefTraits< BRepGraph_OccurrenceId >
 
struct  DefTraits< BRepGraph_ProductId >
 
struct  DefTraits< BRepGraph_ShellId >
 
struct  DefTraits< BRepGraph_SolidId >
 
struct  DefTraits< BRepGraph_VertexId >
 
struct  DefTraits< BRepGraph_WireId >
 
struct  EdgeOfVertexRefTraits
 
class  EdgeParentsOf
 
struct  FaceFromEdgeCoEdgeTraits
 
struct  FaceFromWireRefTraits
 
class  IdsOfRefs
 
class  LookupParentRefsOf
 Typed iterator over parent ID relation lists that also resolves the specific RefId linking each parent to the child by lookup in the parent definition. Used only where the reverse relation stores parent IDs but no ref IDs. More...
 
struct  OccurrenceFromOccurrenceRefTraits
 
struct  ParentRef
 Result pair returned by parent-ref iterators: parent definition ID + the RefId in that parent which references the child. More...
 
class  ParentsOf
 Typed iterator over a relation vector of parent IDs. Skips removed parent definitions automatically in sequential iteration. Also provides indexed access (Length/Value) for callers that need random access into the underlying vector (e.g. BRepGraph_ParentExplorer). More...
 
struct  ProductFromOccurrenceRefTraits
 
struct  ShellFromFaceRefTraits
 
struct  SolidFromShellRefTraits
 
struct  WireFromEdgeCoEdgeTraits
 
struct  WireOfCoEdgeUsageTraits
 

Detailed Description

Single-level typed iterators over parent definitions via relation lists.

These iterators wrap parent relation containers returned by TopoView accessors, or derive parent definitions from const relation storage such as EdgeRelations::CoEdgeIds. They provide a typed, skip-removed iteration pattern consistent with the forward iterators in BRepGraph_DefsIterator and BRepGraph_RefsIterator.

Usage:

// Traditional iteration:
{
const BRepGraph_FaceId aFaceId = anIt.CurrentId();
}
// Range-based for:
{
// ...
}
Definition BRepGraph_ReverseIterator.hxx:752
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142