Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepGraphInc_Storage Class Reference

#include <BRepGraphInc_Storage.hxx>

Public Member Functions

 BRepGraphInc_Storage (const occ::handle< NCollection_BaseAllocator > &theAlloc=occ::handle< NCollection_BaseAllocator >())
 Construct with allocator for internal collections. If null, uses CommonBaseAllocator.
 
const occ::handle< NCollection_BaseAllocator > & Allocator () const
 Return the allocator used for internal collections.
 
uint32_t NbVertices () const
 Returns the total number of vertex entities (including removed).
 
uint32_t NbEdges () const
 Returns the total number of edge entities (including removed).
 
uint32_t NbCoEdges () const
 Returns the total number of coedge entities (including removed).
 
uint32_t NbWires () const
 Returns the total number of wire entities (including removed).
 
uint32_t NbFaces () const
 Returns the total number of face entities (including removed).
 
uint32_t NbShells () const
 Returns the total number of shell entities (including removed).
 
uint32_t NbSolids () const
 Returns the total number of solid entities (including removed).
 
uint32_t NbCompounds () const
 Returns the total number of compound entities (including removed).
 
uint32_t NbCompSolids () const
 Returns the total number of compsolid entities (including removed).
 
uint32_t NbProducts () const
 Returns the total number of product entities (including removed).
 
uint32_t NbOccurrences () const
 Returns the total number of occurrence entities (including removed).
 
uint32_t NbShellRefs () const
 Returns the total number of shell reference entries (including removed).
 
uint32_t NbFaceRefs () const
 Returns the total number of face reference entries (including removed).
 
uint32_t NbWireRefs () const
 Returns the total number of wire reference entries (including removed).
 
uint32_t NbCoEdgeRefs () const
 Returns the total number of coedge reference entries (including removed).
 
uint32_t NbVertexRefs () const
 Returns the total number of vertex reference entries (including removed).
 
uint32_t NbSolidRefs () const
 Returns the total number of solid reference entries (including removed).
 
uint32_t NbChildRefs () const
 Returns the total number of child reference entries (including removed).
 
uint32_t NbOccurrenceRefs () const
 Returns the total number of occurrence reference entries (including removed).
 
uint32_t NbSurfaces () const
 Returns the total number of surface representations.
 
uint32_t NbCurves3D () const
 Returns the total number of 3D curve representations.
 
uint32_t NbCurves2D () const
 Returns the total number of 2D curve representations.
 
uint32_t NbTriangulations () const
 Returns the total number of triangulation representations.
 
uint32_t NbPolygons3D () const
 Returns the total number of 3D polygon representations.
 
uint32_t NbPolygons2D () const
 Returns the total number of 2D polygon representations.
 
uint32_t NbPolygonsOnTri () const
 Returns the total number of polygon-on-triangulation representations.
 
uint32_t NbActiveSurfaces () const
 Returns the number of active surface representations (excluding removed).
 
uint32_t NbActiveCurves3D () const
 Returns the number of active 3D curve representations (excluding removed).
 
uint32_t NbActiveCurves2D () const
 Returns the number of active 2D curve representations (excluding removed).
 
uint32_t NbActiveTriangulations () const
 Returns the number of active triangulation representations (excluding removed).
 
uint32_t NbActivePolygons3D () const
 Returns the number of active 3D polygon representations (excluding removed).
 
uint32_t NbActivePolygons2D () const
 Returns the number of active 2D polygon representations (excluding removed).
 
uint32_t NbActivePolygonsOnTri () const
 Returns the number of active polygon-on-triangulation representations (excluding removed).
 
uint32_t NbActiveVertices () const
 Returns the number of active vertex entities (excluding removed).
 
uint32_t NbActiveEdges () const
 Returns the number of active edge entities (excluding removed).
 
uint32_t NbActiveCoEdges () const
 Returns the number of active coedge entities (excluding removed).
 
uint32_t NbActiveWires () const
 Returns the number of active wire entities (excluding removed).
 
uint32_t NbActiveFaces () const
 Returns the number of active face entities (excluding removed).
 
uint32_t NbActiveShells () const
 Returns the number of active shell entities (excluding removed).
 
uint32_t NbActiveSolids () const
 Returns the number of active solid entities (excluding removed).
 
uint32_t NbActiveCompounds () const
 Returns the number of active compound entities (excluding removed).
 
uint32_t NbActiveCompSolids () const
 Returns the number of active compsolid entities (excluding removed).
 
uint32_t NbActiveProducts () const
 Returns the number of active product entities (excluding removed).
 
uint32_t NbActiveOccurrences () const
 Returns the number of active occurrence entities (excluding removed).
 
uint32_t NbActiveShellRefs () const
 Returns the number of active shell reference entries (excluding removed).
 
uint32_t NbActiveFaceRefs () const
 Returns the number of active face reference entries (excluding removed).
 
uint32_t NbActiveWireRefs () const
 Returns the number of active wire reference entries (excluding removed).
 
uint32_t NbActiveCoEdgeRefs () const
 Returns the number of active coedge reference entries (excluding removed).
 
uint32_t NbActiveVertexRefs () const
 Returns the number of active vertex reference entries (excluding removed).
 
uint32_t NbActiveSolidRefs () const
 Returns the number of active solid reference entries (excluding removed).
 
uint32_t NbActiveChildRefs () const
 Returns the number of active child reference entries (excluding removed).
 
uint32_t NbActiveOccurrenceRefs () const
 Returns the number of active occurrence reference entries (excluding removed).
 
bool MarkRemoved (const BRepGraph_NodeId theNodeId)
 Mark an entity node as removed and decrement its active counter once.
 
bool MarkRemovedRef (const BRepGraph_RefId theRefId)
 Mark a reference entry as removed and decrement its active counter once.
 
bool MarkRemovedRep (const BRepGraph_RepId theRepId)
 Mark a representation entry as removed and decrement its active counter once.
 
const BRepGraphInc::SurfaceRepSurfaceRep (const BRepGraph_SurfaceRepId theRep) const
 Returns the surface representation at the given typed id.
 
const BRepGraphInc::Curve3DRepCurve3DRep (const BRepGraph_Curve3DRepId theRep) const
 Returns the 3D curve representation at the given typed id.
 
const BRepGraphInc::Curve2DRepCurve2DRep (const BRepGraph_Curve2DRepId theRep) const
 Returns the 2D curve representation at the given typed id.
 
const BRepGraphInc::TriangulationRepTriangulationRep (const BRepGraph_TriangulationRepId theRep) const
 Returns the triangulation representation at the given typed id.
 
const BRepGraphInc::Polygon3DRepPolygon3DRep (const BRepGraph_Polygon3DRepId theRep) const
 Returns the 3D polygon representation at the given typed id.
 
const BRepGraphInc::Polygon2DRepPolygon2DRep (const BRepGraph_Polygon2DRepId theRep) const
 Returns the 2D polygon representation at the given typed id.
 
const BRepGraphInc::PolygonOnTriRepPolygonOnTriRep (const BRepGraph_PolygonOnTriRepId theRep) const
 Returns the polygon-on-triangulation representation at the given typed id.
 
BRepGraphInc::SurfaceRepChangeSurfaceRep (const BRepGraph_SurfaceRepId theRep)
 Returns a mutable reference to the surface representation at the given typed id.
 
BRepGraphInc::Curve3DRepChangeCurve3DRep (const BRepGraph_Curve3DRepId theRep)
 Returns a mutable reference to the 3D curve representation at the given typed id.
 
BRepGraphInc::Curve2DRepChangeCurve2DRep (const BRepGraph_Curve2DRepId theRep)
 Returns a mutable reference to the 2D curve representation at the given typed id.
 
BRepGraphInc::TriangulationRepChangeTriangulationRep (const BRepGraph_TriangulationRepId theRep)
 Returns a mutable reference to the triangulation representation at the given typed id.
 
BRepGraphInc::Polygon3DRepChangePolygon3DRep (const BRepGraph_Polygon3DRepId theRep)
 Returns a mutable reference to the 3D polygon representation at the given typed id.
 
BRepGraphInc::Polygon2DRepChangePolygon2DRep (const BRepGraph_Polygon2DRepId theRep)
 Returns a mutable reference to the 2D polygon representation at the given typed id.
 
BRepGraphInc::PolygonOnTriRepChangePolygonOnTriRep (const BRepGraph_PolygonOnTriRepId theRep)
 Returns a mutable reference to the polygon-on-triangulation representation at the given typed id.
 
BRepGraph_SurfaceRepId AppendSurfaceRep ()
 Appends a new surface representation slot and returns its typed id.
 
BRepGraph_Curve3DRepId AppendCurve3DRep ()
 Appends a new 3D curve representation slot and returns its typed id.
 
BRepGraph_Curve2DRepId AppendCurve2DRep ()
 Appends a new 2D curve representation slot and returns its typed id.
 
BRepGraph_TriangulationRepId AppendTriangulationRep ()
 Appends a new triangulation representation slot and returns its typed id.
 
BRepGraph_Polygon3DRepId AppendPolygon3DRep ()
 Appends a new 3D polygon representation slot and returns its typed id.
 
BRepGraph_Polygon2DRepId AppendPolygon2DRep ()
 Appends a new 2D polygon representation slot and returns its typed id.
 
BRepGraph_PolygonOnTriRepId AppendPolygonOnTriRep ()
 Appends a new polygon-on-triangulation representation slot and returns its typed id.
 
const BRepGraphInc::VertexDefVertex (const BRepGraph_VertexId theVertex) const
 Returns the vertex entity at the given typed id.
 
const BRepGraphInc::EdgeDefEdge (const BRepGraph_EdgeId theEdge) const
 Returns the edge entity at the given typed id.
 
const BRepGraphInc::CoEdgeDefCoEdge (const BRepGraph_CoEdgeId theCoEdge) const
 Returns the coedge entity at the given typed id.
 
const BRepGraphInc::WireDefWire (const BRepGraph_WireId theWire) const
 Returns the wire entity at the given typed id.
 
const BRepGraphInc::FaceDefFace (const BRepGraph_FaceId theFace) const
 Returns the face entity at the given typed id.
 
const BRepGraphInc::ShellDefShell (const BRepGraph_ShellId theShell) const
 Returns the shell entity at the given typed id.
 
const BRepGraphInc::SolidDefSolid (const BRepGraph_SolidId theSolid) const
 Returns the solid entity at the given typed id.
 
const BRepGraphInc::CompoundDefCompound (const BRepGraph_CompoundId theCompound) const
 Returns the compound entity at the given typed id.
 
const BRepGraphInc::CompSolidDefCompSolid (const BRepGraph_CompSolidId theCompSolid) const
 Returns the compsolid entity at the given typed id.
 
const BRepGraphInc::ProductDefProduct (const BRepGraph_ProductId theProduct) const
 Returns the product entity at the given typed id.
 
const BRepGraphInc::OccurrenceDefOccurrence (const BRepGraph_OccurrenceId theOccurrence) const
 Returns the occurrence entity at the given typed id.
 
const BRepGraphInc::ShellRefShellRef (const BRepGraph_ShellRefId theRefId) const
 Returns the shell reference entry at the given typed id.
 
const BRepGraphInc::FaceRefFaceRef (const BRepGraph_FaceRefId theRefId) const
 Returns the face reference entry at the given typed id.
 
const BRepGraphInc::WireRefWireRef (const BRepGraph_WireRefId theRefId) const
 Returns the wire reference entry at the given typed id.
 
const BRepGraphInc::CoEdgeRefCoEdgeRef (const BRepGraph_CoEdgeRefId theRefId) const
 Returns the coedge reference entry at the given typed id.
 
const BRepGraphInc::VertexRefVertexRef (const BRepGraph_VertexRefId theRefId) const
 Returns the vertex reference entry at the given typed id.
 
const BRepGraphInc::SolidRefSolidRef (const BRepGraph_SolidRefId theRefId) const
 Returns the solid reference entry at the given typed id.
 
const BRepGraphInc::ChildRefChildRef (const BRepGraph_ChildRefId theRefId) const
 Returns the child reference entry at the given typed id.
 
const BRepGraphInc::OccurrenceRefOccurrenceRef (const BRepGraph_OccurrenceRefId theRefId) const
 Returns the occurrence reference entry at the given typed id.
 
BRepGraphInc::VertexDefChangeVertex (const BRepGraph_VertexId theVertex)
 Returns a mutable reference to the vertex entity at the given typed id.
 
BRepGraphInc::EdgeDefChangeEdge (const BRepGraph_EdgeId theEdge)
 Returns a mutable reference to the edge entity at the given typed id.
 
BRepGraphInc::CoEdgeDefChangeCoEdge (const BRepGraph_CoEdgeId theCoEdge)
 Returns a mutable reference to the coedge entity at the given typed id.
 
BRepGraphInc::WireDefChangeWire (const BRepGraph_WireId theWire)
 Returns a mutable reference to the wire entity at the given typed id.
 
BRepGraphInc::FaceDefChangeFace (const BRepGraph_FaceId theFace)
 Returns a mutable reference to the face entity at the given typed id.
 
BRepGraphInc::ShellDefChangeShell (const BRepGraph_ShellId theShell)
 Returns a mutable reference to the shell entity at the given typed id.
 
BRepGraphInc::SolidDefChangeSolid (const BRepGraph_SolidId theSolid)
 Returns a mutable reference to the solid entity at the given typed id.
 
BRepGraphInc::CompoundDefChangeCompound (const BRepGraph_CompoundId theCompound)
 Returns a mutable reference to the compound entity at the given typed id.
 
BRepGraphInc::CompSolidDefChangeCompSolid (const BRepGraph_CompSolidId theCompSolid)
 Returns a mutable reference to the compsolid entity at the given typed id.
 
BRepGraphInc::ProductDefChangeProduct (const BRepGraph_ProductId theProduct)
 Returns a mutable reference to the product entity at the given typed id.
 
BRepGraphInc::OccurrenceDefChangeOccurrence (const BRepGraph_OccurrenceId theOccurrence)
 Returns a mutable reference to the occurrence entity at the given typed id.
 
BRepGraphInc::ShellRefChangeShellRef (const BRepGraph_ShellRefId theRefId)
 Returns a mutable reference to the shell reference entry at the given typed id.
 
BRepGraphInc::FaceRefChangeFaceRef (const BRepGraph_FaceRefId theRefId)
 Returns a mutable reference to the face reference entry at the given typed id.
 
BRepGraphInc::WireRefChangeWireRef (const BRepGraph_WireRefId theRefId)
 Returns a mutable reference to the wire reference entry at the given typed id.
 
BRepGraphInc::CoEdgeRefChangeCoEdgeRef (const BRepGraph_CoEdgeRefId theRefId)
 Returns a mutable reference to the coedge reference entry at the given typed id.
 
BRepGraphInc::VertexRefChangeVertexRef (const BRepGraph_VertexRefId theRefId)
 Returns a mutable reference to the vertex reference entry at the given typed id.
 
BRepGraphInc::SolidRefChangeSolidRef (const BRepGraph_SolidRefId theRefId)
 Returns a mutable reference to the solid reference entry at the given typed id.
 
BRepGraphInc::ChildRefChangeChildRef (const BRepGraph_ChildRefId theRefId)
 Returns a mutable reference to the child reference entry at the given typed id.
 
BRepGraphInc::OccurrenceRefChangeOccurrenceRef (const BRepGraph_OccurrenceRefId theRefId)
 Returns a mutable reference to the occurrence reference entry at the given typed id.
 
BRepGraph_VertexId AppendVertex ()
 Appends a new vertex entity and returns its typed id.
 
BRepGraph_EdgeId AppendEdge ()
 Appends a new edge entity and returns its typed id.
 
BRepGraph_CoEdgeId AppendCoEdge ()
 Appends a new coedge entity and returns its typed id.
 
BRepGraph_WireId AppendWire ()
 Appends a new wire entity and returns its typed id.
 
BRepGraph_FaceId AppendFace ()
 Appends a new face entity and returns its typed id.
 
BRepGraph_ShellId AppendShell ()
 Appends a new shell entity and returns its typed id.
 
BRepGraph_SolidId AppendSolid ()
 Appends a new solid entity and returns its typed id.
 
BRepGraph_CompoundId AppendCompound ()
 Appends a new compound entity and returns its typed id.
 
BRepGraph_CompSolidId AppendCompSolid ()
 Appends a new compsolid entity and returns its typed id.
 
BRepGraph_ProductId AppendProduct ()
 Appends a new product entity and returns its typed id.
 
BRepGraph_OccurrenceId AppendOccurrence ()
 Appends a new occurrence entity and returns its typed id.
 
BRepGraph_ShellRefId AppendShellRef ()
 Appends a new shell reference entry and returns its typed id.
 
BRepGraph_FaceRefId AppendFaceRef ()
 Appends a new face reference entry and returns its typed id.
 
BRepGraph_WireRefId AppendWireRef ()
 Appends a new wire reference entry and returns its typed id.
 
BRepGraph_CoEdgeRefId AppendCoEdgeRef ()
 Appends a new coedge reference entry and returns its typed id.
 
BRepGraph_VertexRefId AppendVertexRef ()
 Appends a new vertex reference entry and returns its typed id.
 
BRepGraph_SolidRefId AppendSolidRef ()
 Appends a new solid reference entry and returns its typed id.
 
BRepGraph_ChildRefId AppendChildRef ()
 Appends a new child reference entry and returns its typed id.
 
BRepGraph_OccurrenceRefId AppendOccurrenceRef ()
 Appends a new occurrence reference entry and returns its typed id.
 
const NCollection_DynamicArray< BRepGraph_UID > & UIDs (const BRepGraph_NodeId::Kind theKind) const
 Return the per-kind UID vector for a given Kind.
 
NCollection_DynamicArray< BRepGraph_UID > & ChangeUIDs (const BRepGraph_NodeId::Kind theKind)
 Return the per-kind UID vector for a given Kind (mutable).
 
void ResetAllUIDs ()
 Clear all UID vectors (reset lengths to 0).
 
const BRepGraphInc::BaseRefBaseRef (const BRepGraph_RefId theRefId) const
 Return the BaseRef portion of any ref entry by generic RefId.
 
BRepGraphInc::BaseRefChangeBaseRef (const BRepGraph_RefId theRefId)
 Return the mutable BaseRef portion of any ref entry by generic RefId.
 
const NCollection_DynamicArray< BRepGraph_RefUID > & RefUIDs (const BRepGraph_RefId::Kind theKind) const
 Return the per-kind transitional reference UID vector.
 
NCollection_DynamicArray< BRepGraph_RefUID > & ChangeRefUIDs (const BRepGraph_RefId::Kind theKind)
 Return the per-kind transitional reference UID vector (mutable).
 
void ResetAllRefUIDs ()
 Clear all transitional reference UID vectors.
 
const BRepGraphInc_ReverseIndexReverseIndex () const
 Returns the reverse index for parent-child relationship queries.
 
BRepGraphInc_ReverseIndexChangeReverseIndex ()
 Returns a mutable reference to the reverse index.
 
const BRepGraph_NodeIdFindNodeByTShape (const TopoDS_TShape *theTShape) const
 Returns the node id bound to the given TShape, or nullptr if not bound.
 
bool HasTShapeBinding (const TopoDS_TShape *theTShape) const
 Returns true if the given TShape is bound to a node.
 
void BindTShapeToNode (const TopoDS_TShape *theTShape, const BRepGraph_NodeId theNodeId)
 Binds the given TShape to a node id.
 
const TopoDS_ShapeFindOriginal (const BRepGraph_NodeId theNodeId) const
 Back-reference to the source TopoDS_Shape a node was built from. Only populated during Build; absent bindings are a valid state.
 
bool HasOriginal (const BRepGraph_NodeId theNodeId) const
 Returns true if the given node id has an original shape binding.
 
void BindOriginal (const BRepGraph_NodeId theNodeId, const TopoDS_Shape &theShape)
 Binds the given node id to its original shape.
 
void UnBindOriginal (const BRepGraph_NodeId theNodeId)
 Removes the original shape binding for the given node id.
 
template<typename FuncT >
void ForEachTShapeBinding (FuncT &&theFunc) const
 Iterate all TShape-to-NodeId bindings, invoking theFunc(TShape*, NodeId) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap.
 
template<typename FuncT >
void ForEachOriginalBinding (FuncT &&theFunc) const
 Iterate all NodeId-to-OriginalShape bindings, invoking theFunc(NodeId, Shape) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap.
 
bool GetIsDone () const
 
void SetIsDone (const bool theVal)
 
void Clear ()
 Clear all storage.
 
void BuildReverseIndex ()
 Build reverse indices from entity and relationship tables. Call after population is complete.
 
void BuildDeltaReverseIndex (const uint32_t theOldNbEdges, const uint32_t theOldNbWires, const uint32_t theOldNbFaces, const uint32_t theOldNbShells, const uint32_t theOldNbSolids, const uint32_t theOldNbCompounds, const uint32_t theOldNbCompSolids, const uint32_t theOldNbChildRefs, const uint32_t theOldNbSolidRefs)
 Incrementally update reverse indices for entities appended after a previous BuildReverseIndex(). Only processes entities and refs from the old counts to the current vector lengths - the caller must snapshot ChildRef / SolidRef counts before any Append so this remains O(delta), not O(total).
 
bool ValidateReverseIndex () const
 Debug: verify reverse index consistency against entity tables.
 

Constructor & Destructor Documentation

◆ BRepGraphInc_Storage()

BRepGraphInc_Storage::BRepGraphInc_Storage ( const occ::handle< NCollection_BaseAllocator > & theAlloc = occ::handleNCollection_BaseAllocator >())
explicit

Construct with allocator for internal collections. If null, uses CommonBaseAllocator.

Member Function Documentation

◆ Allocator()

const occ::handle< NCollection_BaseAllocator > & BRepGraphInc_Storage::Allocator ( ) const
inline

Return the allocator used for internal collections.

◆ AppendChildRef()

BRepGraph_ChildRefId BRepGraphInc_Storage::AppendChildRef ( )
inline

Appends a new child reference entry and returns its typed id.

◆ AppendCoEdge()

BRepGraph_CoEdgeId BRepGraphInc_Storage::AppendCoEdge ( )
inline

Appends a new coedge entity and returns its typed id.

◆ AppendCoEdgeRef()

BRepGraph_CoEdgeRefId BRepGraphInc_Storage::AppendCoEdgeRef ( )
inline

Appends a new coedge reference entry and returns its typed id.

◆ AppendCompound()

BRepGraph_CompoundId BRepGraphInc_Storage::AppendCompound ( )
inline

Appends a new compound entity and returns its typed id.

◆ AppendCompSolid()

BRepGraph_CompSolidId BRepGraphInc_Storage::AppendCompSolid ( )
inline

Appends a new compsolid entity and returns its typed id.

◆ AppendCurve2DRep()

BRepGraph_Curve2DRepId BRepGraphInc_Storage::AppendCurve2DRep ( )
inline

Appends a new 2D curve representation slot and returns its typed id.

◆ AppendCurve3DRep()

BRepGraph_Curve3DRepId BRepGraphInc_Storage::AppendCurve3DRep ( )
inline

Appends a new 3D curve representation slot and returns its typed id.

◆ AppendEdge()

BRepGraph_EdgeId BRepGraphInc_Storage::AppendEdge ( )
inline

Appends a new edge entity and returns its typed id.

◆ AppendFace()

BRepGraph_FaceId BRepGraphInc_Storage::AppendFace ( )
inline

Appends a new face entity and returns its typed id.

◆ AppendFaceRef()

BRepGraph_FaceRefId BRepGraphInc_Storage::AppendFaceRef ( )
inline

Appends a new face reference entry and returns its typed id.

◆ AppendOccurrence()

BRepGraph_OccurrenceId BRepGraphInc_Storage::AppendOccurrence ( )
inline

Appends a new occurrence entity and returns its typed id.

◆ AppendOccurrenceRef()

BRepGraph_OccurrenceRefId BRepGraphInc_Storage::AppendOccurrenceRef ( )
inline

Appends a new occurrence reference entry and returns its typed id.

◆ AppendPolygon2DRep()

BRepGraph_Polygon2DRepId BRepGraphInc_Storage::AppendPolygon2DRep ( )
inline

Appends a new 2D polygon representation slot and returns its typed id.

◆ AppendPolygon3DRep()

BRepGraph_Polygon3DRepId BRepGraphInc_Storage::AppendPolygon3DRep ( )
inline

Appends a new 3D polygon representation slot and returns its typed id.

◆ AppendPolygonOnTriRep()

BRepGraph_PolygonOnTriRepId BRepGraphInc_Storage::AppendPolygonOnTriRep ( )
inline

Appends a new polygon-on-triangulation representation slot and returns its typed id.

◆ AppendProduct()

BRepGraph_ProductId BRepGraphInc_Storage::AppendProduct ( )
inline

Appends a new product entity and returns its typed id.

◆ AppendShell()

BRepGraph_ShellId BRepGraphInc_Storage::AppendShell ( )
inline

Appends a new shell entity and returns its typed id.

◆ AppendShellRef()

BRepGraph_ShellRefId BRepGraphInc_Storage::AppendShellRef ( )
inline

Appends a new shell reference entry and returns its typed id.

◆ AppendSolid()

BRepGraph_SolidId BRepGraphInc_Storage::AppendSolid ( )
inline

Appends a new solid entity and returns its typed id.

◆ AppendSolidRef()

BRepGraph_SolidRefId BRepGraphInc_Storage::AppendSolidRef ( )
inline

Appends a new solid reference entry and returns its typed id.

◆ AppendSurfaceRep()

BRepGraph_SurfaceRepId BRepGraphInc_Storage::AppendSurfaceRep ( )
inline

Appends a new surface representation slot and returns its typed id.

◆ AppendTriangulationRep()

BRepGraph_TriangulationRepId BRepGraphInc_Storage::AppendTriangulationRep ( )
inline

Appends a new triangulation representation slot and returns its typed id.

◆ AppendVertex()

BRepGraph_VertexId BRepGraphInc_Storage::AppendVertex ( )
inline

Appends a new vertex entity and returns its typed id.

◆ AppendVertexRef()

BRepGraph_VertexRefId BRepGraphInc_Storage::AppendVertexRef ( )
inline

Appends a new vertex reference entry and returns its typed id.

◆ AppendWire()

BRepGraph_WireId BRepGraphInc_Storage::AppendWire ( )
inline

Appends a new wire entity and returns its typed id.

◆ AppendWireRef()

BRepGraph_WireRefId BRepGraphInc_Storage::AppendWireRef ( )
inline

Appends a new wire reference entry and returns its typed id.

◆ BaseRef()

const BRepGraphInc::BaseRef & BRepGraphInc_Storage::BaseRef ( const BRepGraph_RefId theRefId) const

Return the BaseRef portion of any ref entry by generic RefId.

Parameters
[in]theRefIdgeneric reference identifier
Returns
const reference to the BaseRef base of the ref entry

◆ BindOriginal()

void BRepGraphInc_Storage::BindOriginal ( const BRepGraph_NodeId theNodeId,
const TopoDS_Shape & theShape )
inline

Binds the given node id to its original shape.

◆ BindTShapeToNode()

void BRepGraphInc_Storage::BindTShapeToNode ( const TopoDS_TShape * theTShape,
const BRepGraph_NodeId theNodeId )
inline

Binds the given TShape to a node id.

◆ BuildDeltaReverseIndex()

void BRepGraphInc_Storage::BuildDeltaReverseIndex ( const uint32_t theOldNbEdges,
const uint32_t theOldNbWires,
const uint32_t theOldNbFaces,
const uint32_t theOldNbShells,
const uint32_t theOldNbSolids,
const uint32_t theOldNbCompounds,
const uint32_t theOldNbCompSolids,
const uint32_t theOldNbChildRefs,
const uint32_t theOldNbSolidRefs )

Incrementally update reverse indices for entities appended after a previous BuildReverseIndex(). Only processes entities and refs from the old counts to the current vector lengths - the caller must snapshot ChildRef / SolidRef counts before any Append so this remains O(delta), not O(total).

◆ BuildReverseIndex()

void BRepGraphInc_Storage::BuildReverseIndex ( )

Build reverse indices from entity and relationship tables. Call after population is complete.

◆ ChangeBaseRef()

BRepGraphInc::BaseRef & BRepGraphInc_Storage::ChangeBaseRef ( const BRepGraph_RefId theRefId)

Return the mutable BaseRef portion of any ref entry by generic RefId.

Parameters
[in]theRefIdgeneric reference identifier
Returns
mutable reference to the BaseRef base of the ref entry

◆ ChangeChildRef()

BRepGraphInc::ChildRef & BRepGraphInc_Storage::ChangeChildRef ( const BRepGraph_ChildRefId theRefId)
inline

Returns a mutable reference to the child reference entry at the given typed id.

◆ ChangeCoEdge()

BRepGraphInc::CoEdgeDef & BRepGraphInc_Storage::ChangeCoEdge ( const BRepGraph_CoEdgeId theCoEdge)
inline

Returns a mutable reference to the coedge entity at the given typed id.

Parameters
[in]theCoEdgetyped coedge id

◆ ChangeCoEdgeRef()

BRepGraphInc::CoEdgeRef & BRepGraphInc_Storage::ChangeCoEdgeRef ( const BRepGraph_CoEdgeRefId theRefId)
inline

Returns a mutable reference to the coedge reference entry at the given typed id.

◆ ChangeCompound()

BRepGraphInc::CompoundDef & BRepGraphInc_Storage::ChangeCompound ( const BRepGraph_CompoundId theCompound)
inline

Returns a mutable reference to the compound entity at the given typed id.

Parameters
[in]theCompoundtyped compound id

◆ ChangeCompSolid()

BRepGraphInc::CompSolidDef & BRepGraphInc_Storage::ChangeCompSolid ( const BRepGraph_CompSolidId theCompSolid)
inline

Returns a mutable reference to the compsolid entity at the given typed id.

Parameters
[in]theCompSolidtyped comp-solid id

◆ ChangeCurve2DRep()

BRepGraphInc::Curve2DRep & BRepGraphInc_Storage::ChangeCurve2DRep ( const BRepGraph_Curve2DRepId theRep)
inline

Returns a mutable reference to the 2D curve representation at the given typed id.

Parameters
[in]theReptyped curve-2D representation id

◆ ChangeCurve3DRep()

BRepGraphInc::Curve3DRep & BRepGraphInc_Storage::ChangeCurve3DRep ( const BRepGraph_Curve3DRepId theRep)
inline

Returns a mutable reference to the 3D curve representation at the given typed id.

Parameters
[in]theReptyped curve-3D representation id

◆ ChangeEdge()

BRepGraphInc::EdgeDef & BRepGraphInc_Storage::ChangeEdge ( const BRepGraph_EdgeId theEdge)
inline

Returns a mutable reference to the edge entity at the given typed id.

Parameters
[in]theEdgetyped edge id

◆ ChangeFace()

BRepGraphInc::FaceDef & BRepGraphInc_Storage::ChangeFace ( const BRepGraph_FaceId theFace)
inline

Returns a mutable reference to the face entity at the given typed id.

Parameters
[in]theFacetyped face id

◆ ChangeFaceRef()

BRepGraphInc::FaceRef & BRepGraphInc_Storage::ChangeFaceRef ( const BRepGraph_FaceRefId theRefId)
inline

Returns a mutable reference to the face reference entry at the given typed id.

◆ ChangeOccurrence()

BRepGraphInc::OccurrenceDef & BRepGraphInc_Storage::ChangeOccurrence ( const BRepGraph_OccurrenceId theOccurrence)
inline

Returns a mutable reference to the occurrence entity at the given typed id.

Parameters
[in]theOccurrencetyped occurrence id

◆ ChangeOccurrenceRef()

BRepGraphInc::OccurrenceRef & BRepGraphInc_Storage::ChangeOccurrenceRef ( const BRepGraph_OccurrenceRefId theRefId)
inline

Returns a mutable reference to the occurrence reference entry at the given typed id.

◆ ChangePolygon2DRep()

BRepGraphInc::Polygon2DRep & BRepGraphInc_Storage::ChangePolygon2DRep ( const BRepGraph_Polygon2DRepId theRep)
inline

Returns a mutable reference to the 2D polygon representation at the given typed id.

Parameters
[in]theReptyped polygon-2D representation id

◆ ChangePolygon3DRep()

BRepGraphInc::Polygon3DRep & BRepGraphInc_Storage::ChangePolygon3DRep ( const BRepGraph_Polygon3DRepId theRep)
inline

Returns a mutable reference to the 3D polygon representation at the given typed id.

Parameters
[in]theReptyped polygon-3D representation id

◆ ChangePolygonOnTriRep()

BRepGraphInc::PolygonOnTriRep & BRepGraphInc_Storage::ChangePolygonOnTriRep ( const BRepGraph_PolygonOnTriRepId theRep)
inline

Returns a mutable reference to the polygon-on-triangulation representation at the given typed id.

Parameters
[in]theReptyped polygon-on-triangulation representation id

◆ ChangeProduct()

BRepGraphInc::ProductDef & BRepGraphInc_Storage::ChangeProduct ( const BRepGraph_ProductId theProduct)
inline

Returns a mutable reference to the product entity at the given typed id.

Parameters
[in]theProducttyped product id

◆ ChangeRefUIDs()

NCollection_DynamicArray< BRepGraph_RefUID > & BRepGraphInc_Storage::ChangeRefUIDs ( const BRepGraph_RefId::Kind theKind)

Return the per-kind transitional reference UID vector (mutable).

◆ ChangeReverseIndex()

BRepGraphInc_ReverseIndex & BRepGraphInc_Storage::ChangeReverseIndex ( )
inline

Returns a mutable reference to the reverse index.

◆ ChangeShell()

BRepGraphInc::ShellDef & BRepGraphInc_Storage::ChangeShell ( const BRepGraph_ShellId theShell)
inline

Returns a mutable reference to the shell entity at the given typed id.

Parameters
[in]theShelltyped shell id

◆ ChangeShellRef()

BRepGraphInc::ShellRef & BRepGraphInc_Storage::ChangeShellRef ( const BRepGraph_ShellRefId theRefId)
inline

Returns a mutable reference to the shell reference entry at the given typed id.

◆ ChangeSolid()

BRepGraphInc::SolidDef & BRepGraphInc_Storage::ChangeSolid ( const BRepGraph_SolidId theSolid)
inline

Returns a mutable reference to the solid entity at the given typed id.

Parameters
[in]theSolidtyped solid id

◆ ChangeSolidRef()

BRepGraphInc::SolidRef & BRepGraphInc_Storage::ChangeSolidRef ( const BRepGraph_SolidRefId theRefId)
inline

Returns a mutable reference to the solid reference entry at the given typed id.

◆ ChangeSurfaceRep()

BRepGraphInc::SurfaceRep & BRepGraphInc_Storage::ChangeSurfaceRep ( const BRepGraph_SurfaceRepId theRep)
inline

Returns a mutable reference to the surface representation at the given typed id.

Parameters
[in]theReptyped surface representation id

◆ ChangeTriangulationRep()

BRepGraphInc::TriangulationRep & BRepGraphInc_Storage::ChangeTriangulationRep ( const BRepGraph_TriangulationRepId theRep)
inline

Returns a mutable reference to the triangulation representation at the given typed id.

Parameters
[in]theReptyped triangulation representation id

◆ ChangeUIDs()

NCollection_DynamicArray< BRepGraph_UID > & BRepGraphInc_Storage::ChangeUIDs ( const BRepGraph_NodeId::Kind theKind)

Return the per-kind UID vector for a given Kind (mutable).

◆ ChangeVertex()

BRepGraphInc::VertexDef & BRepGraphInc_Storage::ChangeVertex ( const BRepGraph_VertexId theVertex)
inline

Returns a mutable reference to the vertex entity at the given typed id.

Parameters
[in]theVertextyped vertex id

◆ ChangeVertexRef()

BRepGraphInc::VertexRef & BRepGraphInc_Storage::ChangeVertexRef ( const BRepGraph_VertexRefId theRefId)
inline

Returns a mutable reference to the vertex reference entry at the given typed id.

◆ ChangeWire()

BRepGraphInc::WireDef & BRepGraphInc_Storage::ChangeWire ( const BRepGraph_WireId theWire)
inline

Returns a mutable reference to the wire entity at the given typed id.

Parameters
[in]theWiretyped wire id

◆ ChangeWireRef()

BRepGraphInc::WireRef & BRepGraphInc_Storage::ChangeWireRef ( const BRepGraph_WireRefId theRefId)
inline

Returns a mutable reference to the wire reference entry at the given typed id.

◆ ChildRef()

const BRepGraphInc::ChildRef & BRepGraphInc_Storage::ChildRef ( const BRepGraph_ChildRefId theRefId) const
inline

Returns the child reference entry at the given typed id.

◆ Clear()

void BRepGraphInc_Storage::Clear ( )

Clear all storage.

◆ CoEdge()

const BRepGraphInc::CoEdgeDef & BRepGraphInc_Storage::CoEdge ( const BRepGraph_CoEdgeId theCoEdge) const
inline

Returns the coedge entity at the given typed id.

Parameters
[in]theCoEdgetyped coedge id

◆ CoEdgeRef()

const BRepGraphInc::CoEdgeRef & BRepGraphInc_Storage::CoEdgeRef ( const BRepGraph_CoEdgeRefId theRefId) const
inline

Returns the coedge reference entry at the given typed id.

◆ Compound()

const BRepGraphInc::CompoundDef & BRepGraphInc_Storage::Compound ( const BRepGraph_CompoundId theCompound) const
inline

Returns the compound entity at the given typed id.

Parameters
[in]theCompoundtyped compound id

◆ CompSolid()

const BRepGraphInc::CompSolidDef & BRepGraphInc_Storage::CompSolid ( const BRepGraph_CompSolidId theCompSolid) const
inline

Returns the compsolid entity at the given typed id.

Parameters
[in]theCompSolidtyped comp-solid id

◆ Curve2DRep()

const BRepGraphInc::Curve2DRep & BRepGraphInc_Storage::Curve2DRep ( const BRepGraph_Curve2DRepId theRep) const
inline

Returns the 2D curve representation at the given typed id.

Parameters
[in]theReptyped curve-2D representation id

◆ Curve3DRep()

const BRepGraphInc::Curve3DRep & BRepGraphInc_Storage::Curve3DRep ( const BRepGraph_Curve3DRepId theRep) const
inline

Returns the 3D curve representation at the given typed id.

Parameters
[in]theReptyped curve-3D representation id

◆ Edge()

const BRepGraphInc::EdgeDef & BRepGraphInc_Storage::Edge ( const BRepGraph_EdgeId theEdge) const
inline

Returns the edge entity at the given typed id.

Parameters
[in]theEdgetyped edge id

◆ Face()

const BRepGraphInc::FaceDef & BRepGraphInc_Storage::Face ( const BRepGraph_FaceId theFace) const
inline

Returns the face entity at the given typed id.

Parameters
[in]theFacetyped face id

◆ FaceRef()

const BRepGraphInc::FaceRef & BRepGraphInc_Storage::FaceRef ( const BRepGraph_FaceRefId theRefId) const
inline

Returns the face reference entry at the given typed id.

◆ FindNodeByTShape()

const BRepGraph_NodeId * BRepGraphInc_Storage::FindNodeByTShape ( const TopoDS_TShape * theTShape) const
inline

Returns the node id bound to the given TShape, or nullptr if not bound.

◆ FindOriginal()

const TopoDS_Shape * BRepGraphInc_Storage::FindOriginal ( const BRepGraph_NodeId theNodeId) const
inline

Back-reference to the source TopoDS_Shape a node was built from. Only populated during Build; absent bindings are a valid state.

Returns the original shape for the given node id, or nullptr if not bound.

◆ ForEachOriginalBinding()

template<typename FuncT >
void BRepGraphInc_Storage::ForEachOriginalBinding ( FuncT && theFunc) const
inline

Iterate all NodeId-to-OriginalShape bindings, invoking theFunc(NodeId, Shape) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap.

◆ ForEachTShapeBinding()

template<typename FuncT >
void BRepGraphInc_Storage::ForEachTShapeBinding ( FuncT && theFunc) const
inline

Iterate all TShape-to-NodeId bindings, invoking theFunc(TShape*, NodeId) for each entry. Used by Compact to rebuild the map after the rebuild-and-swap.

◆ GetIsDone()

bool BRepGraphInc_Storage::GetIsDone ( ) const
inline

◆ HasOriginal()

bool BRepGraphInc_Storage::HasOriginal ( const BRepGraph_NodeId theNodeId) const
inline

Returns true if the given node id has an original shape binding.

◆ HasTShapeBinding()

bool BRepGraphInc_Storage::HasTShapeBinding ( const TopoDS_TShape * theTShape) const
inline

Returns true if the given TShape is bound to a node.

◆ MarkRemoved()

bool BRepGraphInc_Storage::MarkRemoved ( const BRepGraph_NodeId theNodeId)

Mark an entity node as removed and decrement its active counter once.

Parameters
[in]theNodeIdtyped entity id
Returns
true if the node transitioned from active to removed

◆ MarkRemovedRef()

bool BRepGraphInc_Storage::MarkRemovedRef ( const BRepGraph_RefId theRefId)

Mark a reference entry as removed and decrement its active counter once.

Parameters
[in]theRefIdtyped reference id
Returns
true if the ref transitioned from active to removed

◆ MarkRemovedRep()

bool BRepGraphInc_Storage::MarkRemovedRep ( const BRepGraph_RepId theRepId)

Mark a representation entry as removed and decrement its active counter once.

Parameters
[in]theRepIdtyped representation id
Returns
true if the representation transitioned from active to removed

◆ NbActiveChildRefs()

uint32_t BRepGraphInc_Storage::NbActiveChildRefs ( ) const
inline

Returns the number of active child reference entries (excluding removed).

◆ NbActiveCoEdgeRefs()

uint32_t BRepGraphInc_Storage::NbActiveCoEdgeRefs ( ) const
inline

Returns the number of active coedge reference entries (excluding removed).

◆ NbActiveCoEdges()

uint32_t BRepGraphInc_Storage::NbActiveCoEdges ( ) const
inline

Returns the number of active coedge entities (excluding removed).

◆ NbActiveCompounds()

uint32_t BRepGraphInc_Storage::NbActiveCompounds ( ) const
inline

Returns the number of active compound entities (excluding removed).

◆ NbActiveCompSolids()

uint32_t BRepGraphInc_Storage::NbActiveCompSolids ( ) const
inline

Returns the number of active compsolid entities (excluding removed).

◆ NbActiveCurves2D()

uint32_t BRepGraphInc_Storage::NbActiveCurves2D ( ) const
inline

Returns the number of active 2D curve representations (excluding removed).

◆ NbActiveCurves3D()

uint32_t BRepGraphInc_Storage::NbActiveCurves3D ( ) const
inline

Returns the number of active 3D curve representations (excluding removed).

◆ NbActiveEdges()

uint32_t BRepGraphInc_Storage::NbActiveEdges ( ) const
inline

Returns the number of active edge entities (excluding removed).

◆ NbActiveFaceRefs()

uint32_t BRepGraphInc_Storage::NbActiveFaceRefs ( ) const
inline

Returns the number of active face reference entries (excluding removed).

◆ NbActiveFaces()

uint32_t BRepGraphInc_Storage::NbActiveFaces ( ) const
inline

Returns the number of active face entities (excluding removed).

◆ NbActiveOccurrenceRefs()

uint32_t BRepGraphInc_Storage::NbActiveOccurrenceRefs ( ) const
inline

Returns the number of active occurrence reference entries (excluding removed).

◆ NbActiveOccurrences()

uint32_t BRepGraphInc_Storage::NbActiveOccurrences ( ) const
inline

Returns the number of active occurrence entities (excluding removed).

◆ NbActivePolygons2D()

uint32_t BRepGraphInc_Storage::NbActivePolygons2D ( ) const
inline

Returns the number of active 2D polygon representations (excluding removed).

◆ NbActivePolygons3D()

uint32_t BRepGraphInc_Storage::NbActivePolygons3D ( ) const
inline

Returns the number of active 3D polygon representations (excluding removed).

◆ NbActivePolygonsOnTri()

uint32_t BRepGraphInc_Storage::NbActivePolygonsOnTri ( ) const
inline

Returns the number of active polygon-on-triangulation representations (excluding removed).

◆ NbActiveProducts()

uint32_t BRepGraphInc_Storage::NbActiveProducts ( ) const
inline

Returns the number of active product entities (excluding removed).

◆ NbActiveShellRefs()

uint32_t BRepGraphInc_Storage::NbActiveShellRefs ( ) const
inline

Returns the number of active shell reference entries (excluding removed).

◆ NbActiveShells()

uint32_t BRepGraphInc_Storage::NbActiveShells ( ) const
inline

Returns the number of active shell entities (excluding removed).

◆ NbActiveSolidRefs()

uint32_t BRepGraphInc_Storage::NbActiveSolidRefs ( ) const
inline

Returns the number of active solid reference entries (excluding removed).

◆ NbActiveSolids()

uint32_t BRepGraphInc_Storage::NbActiveSolids ( ) const
inline

Returns the number of active solid entities (excluding removed).

◆ NbActiveSurfaces()

uint32_t BRepGraphInc_Storage::NbActiveSurfaces ( ) const
inline

Returns the number of active surface representations (excluding removed).

◆ NbActiveTriangulations()

uint32_t BRepGraphInc_Storage::NbActiveTriangulations ( ) const
inline

Returns the number of active triangulation representations (excluding removed).

◆ NbActiveVertexRefs()

uint32_t BRepGraphInc_Storage::NbActiveVertexRefs ( ) const
inline

Returns the number of active vertex reference entries (excluding removed).

◆ NbActiveVertices()

uint32_t BRepGraphInc_Storage::NbActiveVertices ( ) const
inline

Returns the number of active vertex entities (excluding removed).

◆ NbActiveWireRefs()

uint32_t BRepGraphInc_Storage::NbActiveWireRefs ( ) const
inline

Returns the number of active wire reference entries (excluding removed).

◆ NbActiveWires()

uint32_t BRepGraphInc_Storage::NbActiveWires ( ) const
inline

Returns the number of active wire entities (excluding removed).

◆ NbChildRefs()

uint32_t BRepGraphInc_Storage::NbChildRefs ( ) const
inline

Returns the total number of child reference entries (including removed).

◆ NbCoEdgeRefs()

uint32_t BRepGraphInc_Storage::NbCoEdgeRefs ( ) const
inline

Returns the total number of coedge reference entries (including removed).

◆ NbCoEdges()

uint32_t BRepGraphInc_Storage::NbCoEdges ( ) const
inline

Returns the total number of coedge entities (including removed).

◆ NbCompounds()

uint32_t BRepGraphInc_Storage::NbCompounds ( ) const
inline

Returns the total number of compound entities (including removed).

◆ NbCompSolids()

uint32_t BRepGraphInc_Storage::NbCompSolids ( ) const
inline

Returns the total number of compsolid entities (including removed).

◆ NbCurves2D()

uint32_t BRepGraphInc_Storage::NbCurves2D ( ) const
inline

Returns the total number of 2D curve representations.

◆ NbCurves3D()

uint32_t BRepGraphInc_Storage::NbCurves3D ( ) const
inline

Returns the total number of 3D curve representations.

◆ NbEdges()

uint32_t BRepGraphInc_Storage::NbEdges ( ) const
inline

Returns the total number of edge entities (including removed).

◆ NbFaceRefs()

uint32_t BRepGraphInc_Storage::NbFaceRefs ( ) const
inline

Returns the total number of face reference entries (including removed).

◆ NbFaces()

uint32_t BRepGraphInc_Storage::NbFaces ( ) const
inline

Returns the total number of face entities (including removed).

◆ NbOccurrenceRefs()

uint32_t BRepGraphInc_Storage::NbOccurrenceRefs ( ) const
inline

Returns the total number of occurrence reference entries (including removed).

◆ NbOccurrences()

uint32_t BRepGraphInc_Storage::NbOccurrences ( ) const
inline

Returns the total number of occurrence entities (including removed).

◆ NbPolygons2D()

uint32_t BRepGraphInc_Storage::NbPolygons2D ( ) const
inline

Returns the total number of 2D polygon representations.

◆ NbPolygons3D()

uint32_t BRepGraphInc_Storage::NbPolygons3D ( ) const
inline

Returns the total number of 3D polygon representations.

◆ NbPolygonsOnTri()

uint32_t BRepGraphInc_Storage::NbPolygonsOnTri ( ) const
inline

Returns the total number of polygon-on-triangulation representations.

◆ NbProducts()

uint32_t BRepGraphInc_Storage::NbProducts ( ) const
inline

Returns the total number of product entities (including removed).

◆ NbShellRefs()

uint32_t BRepGraphInc_Storage::NbShellRefs ( ) const
inline

Returns the total number of shell reference entries (including removed).

◆ NbShells()

uint32_t BRepGraphInc_Storage::NbShells ( ) const
inline

Returns the total number of shell entities (including removed).

◆ NbSolidRefs()

uint32_t BRepGraphInc_Storage::NbSolidRefs ( ) const
inline

Returns the total number of solid reference entries (including removed).

◆ NbSolids()

uint32_t BRepGraphInc_Storage::NbSolids ( ) const
inline

Returns the total number of solid entities (including removed).

◆ NbSurfaces()

uint32_t BRepGraphInc_Storage::NbSurfaces ( ) const
inline

Returns the total number of surface representations.

◆ NbTriangulations()

uint32_t BRepGraphInc_Storage::NbTriangulations ( ) const
inline

Returns the total number of triangulation representations.

◆ NbVertexRefs()

uint32_t BRepGraphInc_Storage::NbVertexRefs ( ) const
inline

Returns the total number of vertex reference entries (including removed).

◆ NbVertices()

uint32_t BRepGraphInc_Storage::NbVertices ( ) const
inline

Returns the total number of vertex entities (including removed).

◆ NbWireRefs()

uint32_t BRepGraphInc_Storage::NbWireRefs ( ) const
inline

Returns the total number of wire reference entries (including removed).

◆ NbWires()

uint32_t BRepGraphInc_Storage::NbWires ( ) const
inline

Returns the total number of wire entities (including removed).

◆ Occurrence()

const BRepGraphInc::OccurrenceDef & BRepGraphInc_Storage::Occurrence ( const BRepGraph_OccurrenceId theOccurrence) const
inline

Returns the occurrence entity at the given typed id.

Parameters
[in]theOccurrencetyped occurrence id

◆ OccurrenceRef()

const BRepGraphInc::OccurrenceRef & BRepGraphInc_Storage::OccurrenceRef ( const BRepGraph_OccurrenceRefId theRefId) const
inline

Returns the occurrence reference entry at the given typed id.

◆ Polygon2DRep()

const BRepGraphInc::Polygon2DRep & BRepGraphInc_Storage::Polygon2DRep ( const BRepGraph_Polygon2DRepId theRep) const
inline

Returns the 2D polygon representation at the given typed id.

Parameters
[in]theReptyped polygon-2D representation id

◆ Polygon3DRep()

const BRepGraphInc::Polygon3DRep & BRepGraphInc_Storage::Polygon3DRep ( const BRepGraph_Polygon3DRepId theRep) const
inline

Returns the 3D polygon representation at the given typed id.

Parameters
[in]theReptyped polygon-3D representation id

◆ PolygonOnTriRep()

const BRepGraphInc::PolygonOnTriRep & BRepGraphInc_Storage::PolygonOnTriRep ( const BRepGraph_PolygonOnTriRepId theRep) const
inline

Returns the polygon-on-triangulation representation at the given typed id.

Parameters
[in]theReptyped polygon-on-triangulation representation id

◆ Product()

const BRepGraphInc::ProductDef & BRepGraphInc_Storage::Product ( const BRepGraph_ProductId theProduct) const
inline

Returns the product entity at the given typed id.

Parameters
[in]theProducttyped product id

◆ RefUIDs()

const NCollection_DynamicArray< BRepGraph_RefUID > & BRepGraphInc_Storage::RefUIDs ( const BRepGraph_RefId::Kind theKind) const

Return the per-kind transitional reference UID vector.

◆ ResetAllRefUIDs()

void BRepGraphInc_Storage::ResetAllRefUIDs ( )

Clear all transitional reference UID vectors.

◆ ResetAllUIDs()

void BRepGraphInc_Storage::ResetAllUIDs ( )

Clear all UID vectors (reset lengths to 0).

◆ ReverseIndex()

const BRepGraphInc_ReverseIndex & BRepGraphInc_Storage::ReverseIndex ( ) const
inline

Returns the reverse index for parent-child relationship queries.

◆ SetIsDone()

void BRepGraphInc_Storage::SetIsDone ( const bool theVal)
inline

◆ Shell()

const BRepGraphInc::ShellDef & BRepGraphInc_Storage::Shell ( const BRepGraph_ShellId theShell) const
inline

Returns the shell entity at the given typed id.

Parameters
[in]theShelltyped shell id

◆ ShellRef()

const BRepGraphInc::ShellRef & BRepGraphInc_Storage::ShellRef ( const BRepGraph_ShellRefId theRefId) const
inline

Returns the shell reference entry at the given typed id.

◆ Solid()

const BRepGraphInc::SolidDef & BRepGraphInc_Storage::Solid ( const BRepGraph_SolidId theSolid) const
inline

Returns the solid entity at the given typed id.

Parameters
[in]theSolidtyped solid id

◆ SolidRef()

const BRepGraphInc::SolidRef & BRepGraphInc_Storage::SolidRef ( const BRepGraph_SolidRefId theRefId) const
inline

Returns the solid reference entry at the given typed id.

◆ SurfaceRep()

const BRepGraphInc::SurfaceRep & BRepGraphInc_Storage::SurfaceRep ( const BRepGraph_SurfaceRepId theRep) const
inline

Returns the surface representation at the given typed id.

Parameters
[in]theReptyped surface representation id

◆ TriangulationRep()

const BRepGraphInc::TriangulationRep & BRepGraphInc_Storage::TriangulationRep ( const BRepGraph_TriangulationRepId theRep) const
inline

Returns the triangulation representation at the given typed id.

Parameters
[in]theReptyped triangulation representation id

◆ UIDs()

const NCollection_DynamicArray< BRepGraph_UID > & BRepGraphInc_Storage::UIDs ( const BRepGraph_NodeId::Kind theKind) const

Return the per-kind UID vector for a given Kind.

◆ UnBindOriginal()

void BRepGraphInc_Storage::UnBindOriginal ( const BRepGraph_NodeId theNodeId)
inline

Removes the original shape binding for the given node id.

◆ ValidateReverseIndex()

bool BRepGraphInc_Storage::ValidateReverseIndex ( ) const

Debug: verify reverse index consistency against entity tables.

Returns
true if all forward refs have matching reverse entries

◆ Vertex()

const BRepGraphInc::VertexDef & BRepGraphInc_Storage::Vertex ( const BRepGraph_VertexId theVertex) const
inline

Returns the vertex entity at the given typed id.

Parameters
[in]theVertextyped vertex id

◆ VertexRef()

const BRepGraphInc::VertexRef & BRepGraphInc_Storage::VertexRef ( const BRepGraph_VertexRefId theRefId) const
inline

Returns the vertex reference entry at the given typed id.

◆ Wire()

const BRepGraphInc::WireDef & BRepGraphInc_Storage::Wire ( const BRepGraph_WireId theWire) const
inline

Returns the wire entity at the given typed id.

Parameters
[in]theWiretyped wire id

◆ WireRef()

const BRepGraphInc::WireRef & BRepGraphInc_Storage::WireRef ( const BRepGraph_WireRefId theRefId) const
inline

Returns the wire reference entry at the given typed id.


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