Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs
BRepGraphInc_Instance.hxx File Reference

Unified lightweight container binding a node identity with placement. More...

#include <BRepGraph_NodeId.hxx>
#include <Standard_HashUtils.hxx>
#include <TopAbs_Orientation.hxx>
#include <TopLoc_Location.hxx>
#include <functional>

Data Structures

struct  BRepGraphInc::Instance< TypedIdT >
 Unified instance container template. More...
 
struct  BRepGraphInc::WireInstance
 Wire instance with an additional flag indicating whether this is the outer wire. More...
 
struct  std::hash< BRepGraphInc::Instance< TypedIdT > >
 std::hash specialization for BRepGraphInc::Instance<T>. More...
 

Namespaces

namespace  BRepGraphInc
 Definition structs for the incidence-table topology model.
 

Typedefs

using BRepGraphInc::VertexInstance = Instance<BRepGraph_VertexId>
 
using BRepGraphInc::CoEdgeInstance = Instance<BRepGraph_CoEdgeId>
 
using BRepGraphInc::FaceInstance = Instance<BRepGraph_FaceId>
 
using BRepGraphInc::ShellInstance = Instance<BRepGraph_ShellId>
 
using BRepGraphInc::SolidInstance = Instance<BRepGraph_SolidId>
 
using BRepGraphInc::OccurrenceInstance = Instance<BRepGraph_OccurrenceId>
 
using BRepGraphInc::CompoundInstance = Instance<BRepGraph_CompoundId>
 
using BRepGraphInc::CompSolidInstance = Instance<BRepGraph_CompSolidId>
 
using BRepGraphInc::ProductInstance = Instance<BRepGraph_ProductId>
 
using BRepGraphInc::NodeInstance = Instance<BRepGraph_NodeId>
 NodeInstance is Instance<BRepGraph_NodeId>. Returned by BRepGraph_ChildExplorer and BRepGraph_ParentExplorer with accumulated transforms from traversal root to the current node. Implicitly convertible from any typed Instance via BRepGraph_NodeId::Typed implicit conversion to BRepGraph_NodeId.
 

Detailed Description

Unified lightweight container binding a node identity with placement.

Instance<T> is the BRepGraph analogue of TopoDS_Shape: a lightweight value type that bundles a definition id with its location and orientation in context.

Supports C++17 structured bindings (aggregate type):

for (auto [aDefId, aLoc, anOri] : BRepGraph_ChildExplorer(aGraph, aRoot, Kind::Face))
{
// ...
}
Stack-based lazy downward hierarchy walker for BRepGraph with inline location/orientation accumulatio...
Definition BRepGraph_ChildExplorer.hxx:60
STL input iterator that wraps an OCCT More()/Next() iterator.
Definition NCollection_ForwardRange.hxx:142