BRepGraphInc
OCCT package BRepGraphInc: BRepGraphInc_BaseDef, BRepGraphInc_BaseRef, BRepGraphInc_BitFlags, BRepGraphInc_ChildRef, and 50 more bound classes.
BRepGraphInc_BaseDef
Constructors(1)
Properties(4)
BRepGraphInc_BaseRef
Constructors(1)
Properties(1)
BRepGraphInc_BitFlags
Contiguous bit-vector for per-entity boolean flags.
Stores one bit per entity index in a flat array of 64-bit blocks. Provides O(1) Set/Clear/Test operations and cache-friendly sequential traversal (512 flags per 64-byte cache line via eight 64-bit blocks).
Used by BRepGraphInc_Storage to store IsRemoved and IsOwned flags outside the entity structs, improving cache locality during traversal and reducing struct size by eliminating bool-field padding.
Public helpers in BRepGraphInc_Storage validate indices before reaching this low-level container. Set, Clear, and Test remain unchecked for hot internal paths that already proved the index is in range.
Constructors(1)
Construct an empty bit-vector.
Instance methods(11)
- Resize(theCount: number): void
Resize the bit-vector to hold at least theCount bits. Newly added bits are initialized to false.
Parameters (1)theCount
- Set(theIndex: number): void
Set the bit at theIndex to true.
Parameters (1)theIndex
- Clear(theIndex: number): void
Clear the bit at theIndex to false.
Parameters (1)theIndex
- Test(theIndex: number): boolean
Return the value of the bit at theIndex.
Parameters (1)theIndex
- SetAll(): void
Set all bits to true.
- ClearAll(): void
Clear all bits to false.
- HasAnyBitSet(): boolean
Return true if any bit is set.
- NbBlocks(): number
Return the number of blocks allocated.
- BitCount(): number
Return the number of valid bits represented by this vector.
- IsValidIndex(theIndex: number): boolean
Return true if theIndex is inside the valid bit range.
Parameters (1)theIndex
- Blocks(): number
Return the raw block array for direct iteration.
BRepGraphInc_ChildRef
Constructors(1)
Properties(4)
BRepGraphInc_CoEdgeCurve2DRep
Constructors(1)
Properties(4)
BRepGraphInc_CoEdgeDef
Constructors(1)
Properties(7)
BRepGraphInc_CoEdgePolygon2DRep
Constructors(1)
Properties(2)
BRepGraphInc_CoEdgePolygonOnTriRep
Constructors(1)
Properties(2)
BRepGraphInc_CompSolidDef
Constructors(1)
BRepGraphInc_CompSolidRelations
Constructors(1)
Properties(1)
BRepGraphInc_CompoundDef
Constructors(1)
BRepGraphInc_CompoundRelations
Constructors(1)
Properties(1)
BRepGraphInc_EdgeCurve3DRep
Constructors(1)
Properties(4)
BRepGraphInc_EdgeDef
Constructors(1)
Properties(5)
BRepGraphInc_EdgePolygon3DRep
Constructors(1)
Properties(2)
BRepGraphInc_EdgeRelations
Constructors(1)
Properties(1)
BRepGraphInc_FaceDef
Constructors(1)
Properties(3)
BRepGraphInc_FaceRef
Constructors(1)
Properties(3)
BRepGraphInc_FaceRelations
Constructors(1)
Properties(2)
BRepGraphInc_FaceSurfaceRep
Constructors(1)
Properties(2)
BRepGraphInc_FaceTriangulationRep
Constructors(1)
Properties(2)
BRepGraphInc_Load_Counts
Constructors(1)
Properties(26)
BRepGraphInc_OccurrenceDef
Constructors(1)
Properties(1)
BRepGraphInc_OccurrenceRef
Constructors(1)
Properties(3)
BRepGraphInc_OccurrenceRelations
Constructors(1)
Properties(1)
BRepGraphInc_ParityOrientation
Constructors(2)
- constructor(theOrientation: TopAbs_Orientation): BRepGraphInc_ParityOrientationParameters (1)
theOrientation
Properties(1)
BRepGraphInc_Populate
Backend topology/geometry population for BRepGraph.
This class is part of the BRepGraphInc backend and is intended for backend maintenance, tests, and low-level infrastructure only. External code should enter through BRepGraph::ShapesView::Add(), which owns the public lifecycle, cache invalidation, and layer coordination.
The builder stores forward child relations only. Reverse relations are rebuilt by BRepGraphInc_Storage after population.
Static methods(3)
- Perform(theGraph: BRepGraph, theShape: TopoDS_Shape, theParallel: boolean, theOptions?: BRepGraphInc_Populate_Options): BRepGraphInc_Populate_BuildStatus
Build backend incidence storage from a
TopoDS_Shape.Parameters (4)theGraph—graph whose storage to populate (cleared first)theShape—root shapetheParallel—if true, face-level extraction runs in paralleltheOptions—optional post-pass controls
Returnsbuild status indicating success, warnings, or failure
- AppendFlattened(theGraph: BRepGraph, theShape: TopoDS_Shape, theParallel: boolean, theAppendedRoots: BRepGraph_NodeId[], theOptions: BRepGraphInc_Populate_Options): BRepGraphInc_Populate_BuildStatus
Extend existing backend storage with additional shapes (no clear). Flattens hierarchy containers away; Solid/Shell/Compound/CompSolid inputs contribute appended face roots instead of container entities. Recomputes the built-in metadata layers from the populated storage.
Parameters (5)theGraph—graph whose storage to extendtheShape—shape to appendtheParallel—if true, face-level extraction runs in paralleltheAppendedRoots—collected root NodeIds for non-container shapes Mutated in place; read the updated value from this argument after the call.theOptions—optional post-pass controls
Returnsbuild status indicating success, warnings, or failure
- Append(theGraph: BRepGraph, theShape: TopoDS_Shape, theParallel: boolean, theOptions?: BRepGraphInc_Populate_Options): BRepGraphInc_Populate_BuildStatus
Extend existing backend storage with additional shapes (no clear). Preserves the full shape hierarchy: Solid/Shell/Compound/CompSolid nodes are created alongside Face/Edge/Vertex nodes. Shapes already present in the storage with the same definition identity (TShape + Location, orientation ignored) are deduplicated and not re-added.
Parameters (4)theGraph—graph whose storage to extendtheShape—shape to appendtheParallel—if true, face-level extraction runs in paralleltheOptions—optional post-pass controls
Returnsbuild status indicating success, warnings, or failure
BRepGraphInc_Populate_Options
Constructors(1)
BRepGraphInc_ProductDef
Constructors(1)
BRepGraphInc_ProductRelations
Constructors(1)
Properties(1)
BRepGraphInc_Reconstruct
Backend reconstruction helpers over incidence-table storage.
Converts BRepGraphInc_Storage entity data back into TopoDS shapes. This class is part of the BRepGraphInc backend; external callers should prefer BRepGraph::Shapes() so reconstruction stays behind the facade. Supports single-node and cached multi-face reconstruction with shared edge/vertex reuse via the Cache.
Static methods(3)
- Node(theGraph: BRepGraph, theNode: BRepGraph_NodeId): TopoDS_Shape
Reconstruct a
TopoDS_Shapefrom an entity node. Creates a local cache internally; shared vertices/edges are not reused across calls.Parameters (2)theGraph—graph owning the storage and cachestheNode—entity node id
Returnsreconstructed shape
- Node(theGraph: BRepGraph, theNode: BRepGraph_NodeId, theCache: BRepGraphInc_Reconstruct_Cache): TopoDS_Shape
Reconstruct a
TopoDS_Shapewith a shared cache for sub-shape reuse. Vertices and edges already in theCache are returned directly.Parameters (3)theGraph—graph owning the storage and cachestheNode—entity node idtheCache—shared cache for vertex/edge/face shapes Mutated in place; read the updated value from this argument after the call.
Returnsreconstructed shape
- FaceWithCache(theGraph: BRepGraph, theFaceId: BRepGraph_FaceId, theCache: BRepGraphInc_Reconstruct_Cache): TopoDS_Shape
Reconstruct a face with shared edge/vertex cache for multi-face contexts.
Parameters (3)theGraph—graph owning the storage and cachestheFaceId—face entity idtheCache—shared cache for edge and vertex shapes Mutated in place; read the updated value from this argument after the call.
Returnsreconstructed face shape
BRepGraphInc_Reconstruct_Cache
Constructors(1)
Instance methods(3)
- Seek(theNode: BRepGraph_NodeId): TopoDS_ShapeParameters (1)
theNode
- Bind(theNode: BRepGraph_NodeId, theShape: TopoDS_Shape): voidParameters (2)
theNodetheShape
- IsBound(theNode: BRepGraph_NodeId): booleanParameters (1)
theNode
Properties(3)
BRepGraphInc_Reconstruct_Cache_TempScope
Constructors(1)
- Parameters (1)
theCache
BRepGraphInc_ShellDef
Constructors(1)
BRepGraphInc_ShellRef
Constructors(1)
Properties(3)
BRepGraphInc_ShellRelations
Constructors(1)
Properties(2)
BRepGraphInc_SolidDef
Constructors(1)
BRepGraphInc_SolidRef
Constructors(1)
Properties(3)
BRepGraphInc_SolidRelations
Constructors(1)
Properties(2)
BRepGraphInc_Storage
Central backend storage container for the incidence-table topology model.
Holds all entity vectors (Vertex through Occurrence), representation vectors (Surface, Curve3D, Curve2D, Triangulation, Polygon), relation tables for connectivity navigation, TShape deduplication maps, original shape bindings, and per-kind UID vectors. Provides typed accessors enforcing compile-time safety for backend code. External callers should normally use the BRepGraph facade rather than reaching into this storage directly. BRepGraphInc_Populate has friend access for efficient bulk writes during graph population.
Constructors(1)
Construct an empty storage with no entities or representations.
Instance methods(246)
Return the allocator used for backend storage.
Return products not referenced by any active occurrence.
Return products not referenced by any active occurrence.
Return nodes accumulated during deferred invalidation.
Return nodes accumulated during deferred invalidation.
Return refs accumulated during deferred invalidation.
Return refs accumulated during deferred invalidation.
- IsEmpty(): boolean
Return true when the graph contains no topology definitions. Checks whether any node kind (Vertex, Edge, Wire, Face, Shell, Solid, Compound, CompSolid, Product, Occurrence) has been allocated.
- NextNodeUIDCounter(theKind: BRepGraph_NodeId_Kind): number
Return the next UID counter for a given node kind.
Parameters (1)theKind
- SetNextNodeUIDCounter(theKind: BRepGraph_NodeId_Kind, theCounter: number): void
Override the next UID counter for a given node kind.
Parameters (2)theKindtheCounter
- NextRefUIDCounter(theKind: BRepGraph_RefId_Kind): number
Return the next UID counter for a given reference kind.
Parameters (1)theKind
- SetNextRefUIDCounter(theKind: BRepGraph_RefId_Kind, theCounter: number): void
Override the next UID counter for a given reference kind.
Parameters (2)theKindtheCounter
- AllocateNodeUID(theNodeId: BRepGraph_NodeId): BRepGraph_UID
Allocate a node UID: write counter into the entity, bind reverse map, advance counter.
Parameters (1)theNodeId
- AllocateRefUID(theRefId: BRepGraph_RefId): BRepGraph_RefUID
Allocate a reference UID: write counter into the ref, bind reverse map, advance counter.
Parameters (1)theRefId
- Generation(): number
Return the current graph generation used by VersionStamp staleness checks.
- SetGeneration(theGeneration: number): void
Override the current graph generation.
Parameters (1)theGeneration
- IncrementGeneration(): void
Increment the graph generation after a structural mutation batch.
Return the stable graph instance GUID.
- SetGraphGUID(theGuid: Standard_GUID): void
Override the stable graph instance GUID.
Parameters (1)theGuid
- DeferredMode(): boolean
Return whether invalidation is currently deferred.
- SetDeferredMode(theEnabled: boolean): void
Enable or disable deferred invalidation mode.
Parameters (1)theEnabled
- PropagationWave(): number
Return the current propagation wave id used to avoid revisiting parents.
- AdvancePropagationWave(): number
Increment the propagation wave and return the new value.
- IncrementPropagationWave(): void
Increment the propagation wave without reading it back.
- RemoveSubgraphDepth(): number
Return the recursion depth of the active RemoveSubgraph cascade.
- IncrementRemoveSubgraphDepth(): void
Enter one nested RemoveSubgraph scope.
- DecrementRemoveSubgraphDepth(): void
Leave one nested RemoveSubgraph scope.
- NbVertices(): number
Returns the total number of vertex entities (including removed).
- NbEdges(): number
Returns the total number of edge entities (including removed).
- NbCoEdges(): number
Returns the total number of coedge entities (including removed).
- NbWires(): number
Returns the total number of wire entities (including removed).
- NbFaces(): number
Returns the total number of face entities (including removed).
- NbShells(): number
Returns the total number of shell entities (including removed).
- NbSolids(): number
Returns the total number of solid entities (including removed).
- NbCompounds(): number
Returns the total number of compound entities (including removed).
- NbCompSolids(): number
Returns the total number of compsolid entities (including removed).
- NbProducts(): number
Returns the total number of product entities (including removed).
- NbOccurrences(): number
Returns the total number of occurrence entities (including removed).
- NbShellRefs(): number
Returns the total number of shell reference entries (including removed).
- NbFaceRefs(): number
Returns the total number of face reference entries (including removed).
- NbWireRefs(): number
Returns the total number of wire reference entries (including removed).
- NbVertexRefs(): number
Returns the total number of vertex reference entries (including removed).
- NbSolidRefs(): number
Returns the total number of solid reference entries (including removed).
- NbChildRefs(): number
Returns the total number of child reference entries (including removed).
- NbOccurrenceRefs(): number
Returns the total number of occurrence reference entries (including removed).
- NbActiveVertices(): number
Returns the number of active vertex entities (excluding removed).
- NbActiveEdges(): number
Returns the number of active edge entities (excluding removed).
- NbActiveCoEdges(): number
Returns the number of active coedge entities (excluding removed).
- NbActiveWires(): number
Returns the number of active wire entities (excluding removed).
- NbActiveFaces(): number
Returns the number of active face entities (excluding removed).
- NbActiveShells(): number
Returns the number of active shell entities (excluding removed).
- NbActiveSolids(): number
Returns the number of active solid entities (excluding removed).
- NbActiveCompounds(): number
Returns the number of active compound entities (excluding removed).
- NbActiveCompSolids(): number
Returns the number of active compsolid entities (excluding removed).
- NbActiveProducts(): number
Returns the number of active product entities (excluding removed).
- NbActiveOccurrences(): number
Returns the number of active occurrence entities (excluding removed).
- NbActiveShellRefs(): number
Returns the number of active shell reference entries (excluding removed).
- NbActiveFaceRefs(): number
Returns the number of active face reference entries (excluding removed).
- NbActiveWireRefs(): number
Returns the number of active wire reference entries (excluding removed).
- NbActiveVertexRefs(): number
Returns the number of active vertex reference entries (excluding removed).
- NbActiveSolidRefs(): number
Returns the number of active solid reference entries (excluding removed).
- NbActiveChildRefs(): number
Returns the number of active child reference entries (excluding removed).
- NbActiveOccurrenceRefs(): number
Returns the number of active occurrence reference entries (excluding removed).
- MarkRemoved(theNodeId: BRepGraph_NodeId): boolean
Mark an entity node as removed and decrement its active counter once.
Parameters (1)theNodeId—typed entity id
Returnstrue if the node transitioned from active to removed
- MarkRemoved(theRepId: BRepGraph_RepId): boolean
Mark a representation-use record as removed and decrement its active counter once.
Parameters (1)theRepId—typed use id
Returnstrue if the use transitioned from active to removed
- MarkRemovedRef(theRefId: BRepGraph_RefId): boolean
Mark a reference entry as removed and decrement its active counter once.
Parameters (1)theRefId—typed reference id
Returnstrue if the ref transitioned from active to removed
- NbEdgeCurves3D(): number
Returns the number of edge 3D curve use records.
- NbEdgePolygons3D(): number
Returns the number of edge 3D polygon use records.
- NbCoEdgeCurves2D(): number
Returns the number of coedge 2D curve use records.
- NbCoEdgePolygons2D(): number
Returns the number of coedge 2D polygon use records.
- NbCoEdgePolygonsOnTri(): number
Returns the number of coedge polygon-on-triangulation use records.
- NbFaceSurfaces(): number
Returns the number of face surface use records.
- NbFaceTriangulations(): number
Returns the number of face triangulation use records.
- NbActiveEdgeCurves3D(): number
Returns the number of active (parent-valid) edge 3D curve use records.
- NbActiveCoEdgeCurves2D(): number
Returns the number of active (parent-valid) coedge 2D curve use records.
- NbActiveFaceSurfaces(): number
Returns the number of active (parent-valid) face surface use records.
- NbActiveFaceTriangulations(): number
Returns the number of active (parent-valid) face triangulation use records.
- NbActiveEdgePolygons3D(): number
Returns the number of active (parent-valid) edge 3D polygon use records.
- NbActiveCoEdgePolygons2D(): number
Returns the number of active (parent-valid) coedge 2D polygon use records.
- NbActiveCoEdgePolygonsOnTri(): number
Returns the number of active (parent-valid) coedge polygon-on-triangulation use records.
Returns the edge 3D curve use at the given id.
Parameters (1)theId
Returns a mutable reference to the edge 3D curve use at the given id.
Parameters (1)theId
Returns the edge 3D polygon use at the given id.
Parameters (1)theId
Returns a mutable reference to the edge 3D polygon use at the given id.
Parameters (1)theId
Returns the coedge 2D curve use at the given id.
Parameters (1)theId
Returns a mutable reference to the coedge 2D curve use at the given id.
Parameters (1)theId
Returns the coedge 2D polygon use at the given id.
Parameters (1)theId
Returns a mutable reference to the coedge 2D polygon use at the given id.
Parameters (1)theId
Returns the coedge polygon-on-triangulation use at the given id.
Parameters (1)theId
- ChangeCoEdgePolygonOnTriRep(theId: BRepGraph_CoEdgePolygonOnTriRepId): BRepGraphInc_CoEdgePolygonOnTriRep
Returns a mutable reference to the coedge polygon-on-triangulation use at the given id.
Parameters (1)theId
Returns the face surface use at the given id.
Parameters (1)theId
Returns a mutable reference to the face surface use at the given id.
Parameters (1)theId
Returns the face triangulation use at the given id.
Parameters (1)theId
- ChangeFaceTriangulationRep(theId: BRepGraph_FaceTriangulationRepId): BRepGraphInc_FaceTriangulationRep
Returns a mutable reference to the face triangulation use at the given id.
Parameters (1)theId
Appends a new edge 3D curve use record and returns its id.
Appends a new edge 3D polygon use record and returns its id.
Appends a new coedge 2D curve use record and returns its id.
Appends a new coedge 2D polygon use record and returns its id.
Appends a new coedge polygon-on-triangulation use record and returns its id.
Appends a new face surface use record and returns its id.
Appends a new face triangulation use record and returns its id.
- SetRemoved(theRepId: BRepGraph_RepId, theVal: boolean): void
Set or clear the soft-removal flag for a representation-use record.
Parameters (2)theRepId—typed use idtheVal—true to mark removed, false to mark active
- Vertex(theVertex: BRepGraph_VertexId): BRepGraphInc_VertexDef
Returns the vertex entity at the given typed id.
Parameters (1)theVertex—typed vertex id
- Edge(theEdge: BRepGraph_EdgeId): BRepGraphInc_EdgeDef
Returns the edge entity at the given typed id.
Parameters (1)theEdge—typed edge id
- CoEdge(theCoEdge: BRepGraph_CoEdgeId): BRepGraphInc_CoEdgeDef
Returns the coedge entity at the given typed id.
Parameters (1)theCoEdge—typed coedge id
- Wire(theWire: BRepGraph_WireId): BRepGraphInc_WireDef
Returns the wire entity at the given typed id.
Parameters (1)theWire—typed wire id
- Face(theFace: BRepGraph_FaceId): BRepGraphInc_FaceDef
Returns the face entity at the given typed id.
Parameters (1)theFace—typed face id
- Shell(theShell: BRepGraph_ShellId): BRepGraphInc_ShellDef
Returns the shell entity at the given typed id.
Parameters (1)theShell—typed shell id
- Solid(theSolid: BRepGraph_SolidId): BRepGraphInc_SolidDef
Returns the solid entity at the given typed id.
Parameters (1)theSolid—typed solid id
- Compound(theCompound: BRepGraph_CompoundId): BRepGraphInc_CompoundDef
Returns the compound entity at the given typed id.
Parameters (1)theCompound—typed compound id
- CompSolid(theCompSolid: BRepGraph_CompSolidId): BRepGraphInc_CompSolidDef
Returns the compsolid entity at the given typed id.
Parameters (1)theCompSolid—typed comp-solid id
- Product(theProduct: BRepGraph_ProductId): BRepGraphInc_ProductDef
Returns the product entity at the given typed id.
Parameters (1)theProduct—typed product id
- Occurrence(theOccurrence: BRepGraph_OccurrenceId): BRepGraphInc_OccurrenceDef
Returns the occurrence entity at the given typed id.
Parameters (1)theOccurrence—typed occurrence id
- ShellRef(theRefId: BRepGraph_ShellRefId): BRepGraphInc_ShellRef
Returns the shell reference entry at the given typed id.
Parameters (1)theRefId
- FaceRef(theRefId: BRepGraph_FaceRefId): BRepGraphInc_FaceRef
Returns the face reference entry at the given typed id.
Parameters (1)theRefId
- WireRef(theRefId: BRepGraph_WireRefId): BRepGraphInc_WireRef
Returns the wire reference entry at the given typed id.
Parameters (1)theRefId
- VertexRef(theRefId: BRepGraph_VertexRefId): BRepGraphInc_VertexRef
Returns the vertex reference entry at the given typed id.
Parameters (1)theRefId
- SolidRef(theRefId: BRepGraph_SolidRefId): BRepGraphInc_SolidRef
Returns the solid reference entry at the given typed id.
Parameters (1)theRefId
- ChildRef(theRefId: BRepGraph_ChildRefId): BRepGraphInc_ChildRef
Returns the child reference entry at the given typed id.
Parameters (1)theRefId
Returns the occurrence reference entry at the given typed id.
Parameters (1)theRefId
- ChangeVertex(theVertex: BRepGraph_VertexId): BRepGraphInc_VertexDef
Returns a mutable reference to the vertex entity at the given typed id.
Parameters (1)theVertex—typed vertex id
- ChangeEdge(theEdge: BRepGraph_EdgeId): BRepGraphInc_EdgeDef
Returns a mutable reference to the edge entity at the given typed id.
Parameters (1)theEdge—typed edge id
- ChangeCoEdge(theCoEdge: BRepGraph_CoEdgeId): BRepGraphInc_CoEdgeDef
Returns a mutable reference to the coedge entity at the given typed id.
Parameters (1)theCoEdge—typed coedge id
- ChangeWire(theWire: BRepGraph_WireId): BRepGraphInc_WireDef
Returns a mutable reference to the wire entity at the given typed id.
Parameters (1)theWire—typed wire id
- ChangeFace(theFace: BRepGraph_FaceId): BRepGraphInc_FaceDef
Returns a mutable reference to the face entity at the given typed id.
Parameters (1)theFace—typed face id
- ChangeShell(theShell: BRepGraph_ShellId): BRepGraphInc_ShellDef
Returns a mutable reference to the shell entity at the given typed id.
Parameters (1)theShell—typed shell id
- ChangeSolid(theSolid: BRepGraph_SolidId): BRepGraphInc_SolidDef
Returns a mutable reference to the solid entity at the given typed id.
Parameters (1)theSolid—typed solid id
- ChangeCompound(theCompound: BRepGraph_CompoundId): BRepGraphInc_CompoundDef
Returns a mutable reference to the compound entity at the given typed id.
Parameters (1)theCompound—typed compound id
- ChangeCompSolid(theCompSolid: BRepGraph_CompSolidId): BRepGraphInc_CompSolidDef
Returns a mutable reference to the compsolid entity at the given typed id.
Parameters (1)theCompSolid—typed comp-solid id
- ChangeProduct(theProduct: BRepGraph_ProductId): BRepGraphInc_ProductDef
Returns a mutable reference to the product entity at the given typed id.
Parameters (1)theProduct—typed product id
- ChangeOccurrence(theOccurrence: BRepGraph_OccurrenceId): BRepGraphInc_OccurrenceDef
Returns a mutable reference to the occurrence entity at the given typed id.
Parameters (1)theOccurrence—typed occurrence id
- ChangeShellRef(theRefId: BRepGraph_ShellRefId): BRepGraphInc_ShellRef
Returns a mutable reference to the shell reference entry at the given typed id.
Parameters (1)theRefId
- ChangeFaceRef(theRefId: BRepGraph_FaceRefId): BRepGraphInc_FaceRef
Returns a mutable reference to the face reference entry at the given typed id.
Parameters (1)theRefId
- ChangeWireRef(theRefId: BRepGraph_WireRefId): BRepGraphInc_WireRef
Returns a mutable reference to the wire reference entry at the given typed id.
Parameters (1)theRefId
Returns a mutable reference to the vertex reference entry at the given typed id.
Parameters (1)theRefId
- ChangeSolidRef(theRefId: BRepGraph_SolidRefId): BRepGraphInc_SolidRef
Returns a mutable reference to the solid reference entry at the given typed id.
Parameters (1)theRefId
- ChangeChildRef(theRefId: BRepGraph_ChildRefId): BRepGraphInc_ChildRef
Returns a mutable reference to the child reference entry at the given typed id.
Parameters (1)theRefId
Returns a mutable reference to the occurrence reference entry at the given typed id.
Parameters (1)theRefId
Return the face relations for a given face identifier.
Parameters (1)theId—face identifier
Returnsconst reference to the face relation representation
Return the wire relations for a given wire identifier.
Parameters (1)theId—wire identifier
Returnsconst reference to the wire relation representation
Return the edge relations for a given edge identifier.
Parameters (1)theId—edge identifier
Returnsconst reference to the edge relation representation
Return the shell relations for a given shell identifier.
Parameters (1)theId—shell identifier
Returnsconst reference to the shell relation representation
Return the solid relations for a given solid identifier.
Parameters (1)theId—solid identifier
Returnsconst reference to the solid relation representation
Return the compound relations for a given compound identifier.
Parameters (1)theId—compound identifier
Returnsconst reference to the compound relation representation
Return the compsolid relations for a given compsolid identifier.
Parameters (1)theId—compsolid identifier
Returnsconst reference to the compsolid relation representation
Return the vertex relations for a given vertex identifier.
Parameters (1)theId—vertex identifier
Returnsconst reference to the vertex relation representation
Return the product relations for a given product identifier.
Parameters (1)theId—product identifier
Returnsconst reference to the product relation representation
Return the occurrence relations for a given occurrence identifier.
Parameters (1)theId—occurrence identifier
Returnsconst reference to the occurrence relation representation
- CompoundRefsOfNode(theNode: BRepGraph_NodeId): BRepGraph_ChildRefId[]
Return the compound child reference identifiers that point to a given node.
Parameters (1)theNode—node identifier
Returnsconst reference to the list of child reference identifiers
Return the occurrence reference identifiers that point to a given node.
Parameters (1)theNode—node identifier
Returnsconst reference to the list of occurrence reference identifiers
Appends a new vertex entity and returns its typed id.
Appends a new edge entity and returns its typed id.
Appends a new coedge entity and returns its typed id.
Appends a new wire entity and returns its typed id.
Appends a new face entity and returns its typed id.
Appends a new shell entity and returns its typed id.
Appends a new solid entity and returns its typed id.
Appends a new compound entity and returns its typed id.
Appends a new compsolid entity and returns its typed id.
Appends a new product entity and returns its typed id.
Appends a new occurrence entity and returns its typed id.
Appends a new shell reference entry and returns its typed id.
Appends a new face reference entry and returns its typed id.
Appends a new wire reference entry and returns its typed id.
Appends a new vertex reference entry and returns its typed id.
Appends a new solid reference entry and returns its typed id.
Appends a new child reference entry and returns its typed id.
Appends a new occurrence reference entry and returns its typed id.
- CreateCoEdgeUse(theParentWireId: BRepGraph_WireId, theChildEdgeId: BRepGraph_EdgeId, theFaceId: BRepGraph_FaceId, theOrientation: BRepGraphInc_ParityOrientation): BRepGraph_CoEdgeId
Create a coedge use record binding an edge to a wire within a face context.
Parameters (4)theParentWireId—owning wire identifiertheChildEdgeId—referenced edge identifiertheFaceId—face context identifiertheOrientation—orientation of the coedge
Returnsthe newly created coedge identifier
- AttachEdgeToVertex(theEdgeId: BRepGraph_EdgeId, theVertexId: BRepGraph_VertexId): void
Attach an edge to a vertex by creating a vertex reference.
Parameters (2)theEdgeId—edge identifiertheVertexId—vertex identifier
- AttachWireToFace(theParentFaceId: BRepGraph_FaceId, theChildWireId: BRepGraph_WireId, theOrientation?: BRepGraphInc_ParityOrientation): BRepGraph_WireRefId
Attach a wire to a face by creating a wire reference.
Parameters (3)theParentFaceId—parent face identifiertheChildWireId—child wire identifiertheOrientation—orientation within parent
Returnsthe newly created wire reference identifier
- AttachFaceToShell(theParentShellId: BRepGraph_ShellId, theChildFaceId: BRepGraph_FaceId, theOrientation?: BRepGraphInc_ParityOrientation): BRepGraph_FaceRefId
Attach a face to a shell by creating a face reference.
Parameters (3)theParentShellId—parent shell identifiertheChildFaceId—child face identifiertheOrientation—orientation within parent
Returnsthe newly created face reference identifier
- AttachShellToSolid(theParentSolidId: BRepGraph_SolidId, theChildShellId: BRepGraph_ShellId, theOrientation?: BRepGraphInc_ParityOrientation): BRepGraph_ShellRefId
Attach a shell to a solid by creating a shell reference.
Parameters (3)theParentSolidId—parent solid identifiertheChildShellId—child shell identifiertheOrientation—orientation within parent
Returnsthe newly created shell reference identifier
- AttachSolidToCompSolid(theParentCompSolidId: BRepGraph_CompSolidId, theChildSolidId: BRepGraph_SolidId, theOrientation?: BRepGraphInc_ParityOrientation): BRepGraph_SolidRefId
Attach a solid to a compsolid by creating a solid reference.
Parameters (3)theParentCompSolidId—parent compsolid identifiertheChildSolidId—child solid identifiertheOrientation—orientation within parent
Returnsthe newly created solid reference identifier
- AttachChildToCompound(theParentCompoundId: BRepGraph_CompoundId, theChildNodeId: BRepGraph_NodeId, theLocation?: TopLoc_Location, theOrientation?: BRepGraphInc_ParityOrientation): BRepGraph_ChildRefId
Attach a child node to a compound by creating a child reference.
Parameters (4)theParentCompoundId—parent compound identifiertheChildNodeId—child node identifiertheLocation—optional location transformationtheOrientation—orientation within parent
Returnsthe newly created child reference identifier
- AttachOccurrenceToProduct(theParentProductId: BRepGraph_ProductId, theChildOccurrenceId: BRepGraph_OccurrenceId, theLocation?: TopLoc_Location): BRepGraph_OccurrenceRefId
Attach an occurrence to a product by creating an occurrence reference.
Parameters (3)theParentProductId—parent product identifiertheChildOccurrenceId—child occurrence identifiertheLocation—optional location transformation
Returnsthe newly created occurrence reference identifier
- DetachCoEdgeUse(theParentWireId: BRepGraph_WireId, theCoEdgeId: BRepGraph_CoEdgeId): boolean
Detach a coedge use from its parent wire.
Parameters (2)theParentWireId—owning wire identifiertheCoEdgeId—coedge identifier to detach
Returnstrue if the coedge was found and removed
- ReplaceCoEdgeUseWithPair(theParentWireId: BRepGraph_WireId, theOldCoEdgeId: BRepGraph_CoEdgeId, theNewFirstCoEdgeId: BRepGraph_CoEdgeId, theNewSecondCoEdgeId: BRepGraph_CoEdgeId): boolean
Replace a single coedge with a pair of new coedges in a wire.
Parameters (4)theParentWireId—owning wire identifiertheOldCoEdgeId—coedge to replacetheNewFirstCoEdgeId—first replacement coedgetheNewSecondCoEdgeId—second replacement coedge
Returnstrue if the replacement succeeded
- DetachWireFromFace(theParentFaceId: BRepGraph_FaceId, theRefId: BRepGraph_WireRefId): boolean
Detach a wire reference from its parent face.
Parameters (2)theParentFaceId—parent face identifiertheRefId—wire reference identifier to detach
Returnstrue if the reference was found and removed
- DetachFaceFromShell(theParentShellId: BRepGraph_ShellId, theRefId: BRepGraph_FaceRefId): boolean
Detach a face reference from its parent shell.
Parameters (2)theParentShellId—parent shell identifiertheRefId—face reference identifier to detach
Returnstrue if the reference was found and removed
- DetachShellFromSolid(theParentSolidId: BRepGraph_SolidId, theRefId: BRepGraph_ShellRefId): boolean
Detach a shell reference from its parent solid.
Parameters (2)theParentSolidId—parent solid identifiertheRefId—shell reference identifier to detach
Returnstrue if the reference was found and removed
- DetachSolidFromCompSolid(theParentCompSolidId: BRepGraph_CompSolidId, theRefId: BRepGraph_SolidRefId): boolean
Detach a solid reference from its parent compsolid.
Parameters (2)theParentCompSolidId—parent compsolid identifiertheRefId—solid reference identifier to detach
Returnstrue if the reference was found and removed
- DetachChildFromCompound(theParentCompoundId: BRepGraph_CompoundId, theRefId: BRepGraph_ChildRefId): boolean
Detach a child reference from its parent compound.
Parameters (2)theParentCompoundId—parent compound identifiertheRefId—child reference identifier to detach
Returnstrue if the reference was found and removed
- DetachOccurrenceFromProduct(theParentProductId: BRepGraph_ProductId, theRefId: BRepGraph_OccurrenceRefId): boolean
Detach an occurrence reference from its parent product.
Parameters (2)theParentProductId—parent product identifiertheRefId—occurrence reference identifier to detach
Returnstrue if the reference was found and removed
- RebindOccurrenceChild(theOccurrence: BRepGraph_OccurrenceId, theOldChild: BRepGraph_NodeId, theNewChild: BRepGraph_NodeId): void
Rebind the child node of an occurrence to a new node.
Parameters (3)theOccurrence—occurrence identifiertheOldChild—old child node identifiertheNewChild—new child node identifier
- RebindVertexEdge(theOldVertex: BRepGraph_VertexId, theNewVertex: BRepGraph_VertexId, theEdge: BRepGraph_EdgeId, theExcludingRef: BRepGraph_VertexRefId): void
Rebind vertex edge references from one vertex to another, excluding a specific ref.
Parameters (4)theOldVertex—old vertex identifiertheNewVertex—new vertex identifiertheEdge—edge identifiertheExcludingRef—reference identifier to exclude from rebinding
- RebindVertexRef(theRefId: BRepGraph_VertexRefId, theOldVertex: BRepGraph_VertexId, theNewVertex: BRepGraph_VertexId): void
Rebind a vertex reference to point to a new vertex.
Parameters (3)theRefId—vertex reference identifiertheOldVertex—old vertex identifiertheNewVertex—new vertex identifier
- RebindCoEdgeEdge(theCoEdge: BRepGraph_CoEdgeId, theOldEdge: BRepGraph_EdgeId, theNewEdge: BRepGraph_EdgeId): void
Rebind a coedge to reference a different edge.
Parameters (3)theCoEdge—coedge identifiertheOldEdge—old edge identifiertheNewEdge—new edge identifier
- RebindWireRef(theRefId: BRepGraph_WireRefId, theOldWire: BRepGraph_WireId, theNewWire: BRepGraph_WireId): void
Rebind a wire reference to point to a new wire.
Parameters (3)theRefId—wire reference identifiertheOldWire—old wire identifiertheNewWire—new wire identifier
- RebindFaceRef(theRefId: BRepGraph_FaceRefId, theOldFace: BRepGraph_FaceId, theNewFace: BRepGraph_FaceId): void
Rebind a face reference to point to a new face.
Parameters (3)theRefId—face reference identifiertheOldFace—old face identifiertheNewFace—new face identifier
- RebindShellRef(theRefId: BRepGraph_ShellRefId, theOldShell: BRepGraph_ShellId, theNewShell: BRepGraph_ShellId): void
Rebind a shell reference to point to a new shell.
Parameters (3)theRefId—shell reference identifiertheOldShell—old shell identifiertheNewShell—new shell identifier
- RebindSolidRef(theRefId: BRepGraph_SolidRefId, theOldSolid: BRepGraph_SolidId, theNewSolid: BRepGraph_SolidId): void
Rebind a solid reference to point to a new solid.
Parameters (3)theRefId—solid reference identifiertheOldSolid—old solid identifiertheNewSolid—new solid identifier
- RebindChildRef(theRefId: BRepGraph_ChildRefId, theOldChild: BRepGraph_NodeId, theNewChild: BRepGraph_NodeId): void
Rebind a child reference to point to a new child node.
Parameters (3)theRefId—child reference identifiertheOldChild—old child node identifiertheNewChild—new child node identifier
- RebindOccurrenceRef(theRefId: BRepGraph_OccurrenceRefId, theOldOccurrence: BRepGraph_OccurrenceId, theNewOccurrence: BRepGraph_OccurrenceId): void
Rebind an occurrence reference to point to a new occurrence.
Parameters (3)theRefId—occurrence reference identifiertheOldOccurrence—old occurrence identifiertheNewOccurrence—new occurrence identifier
- ReverseWireCoEdges(theWireId: BRepGraph_WireId): void
Reverse the order of coedges in a wire.
Parameters (1)theWireId—wire identifier
- SetWireCoEdges(theWireId: BRepGraph_WireId, theCoEdgeIds: NCollection_Array1_BRepGraph_CoEdgeId): void
Replace the coedge list of a wire with a new set.
Parameters (2)theWireId—wire identifiertheCoEdgeIds—new coedge identifiers
- SetFaceWireRefs(theFaceId: BRepGraph_FaceId, theWireRefIds: NCollection_Array1_BRepGraph_WireRefId): void
Replace the wire reference list of a face with a new set.
Parameters (2)theFaceId—face identifiertheWireRefIds—new wire reference identifiers
- SetShellFaceRefs(theShellId: BRepGraph_ShellId, theFaceRefIds: NCollection_Array1_BRepGraph_FaceRefId): void
Replace the face reference list of a shell with a new set.
Parameters (2)theShellId—shell identifiertheFaceRefIds—new face reference identifiers
- SetSolidShellRefs(theSolidId: BRepGraph_SolidId, theShellRefIds: NCollection_Array1_BRepGraph_ShellRefId): void
Replace the shell reference list of a solid with a new set.
Parameters (2)theSolidId—solid identifiertheShellRefIds—new shell reference identifiers
- SetCompSolidSolidRefs(theCompSolidId: BRepGraph_CompSolidId, theSolidRefIds: NCollection_Array1_BRepGraph_SolidRefId): void
Replace the solid reference list of a compsolid with a new set.
Parameters (2)theCompSolidId—compsolid identifiertheSolidRefIds—new solid reference identifiers
- SetCompoundChildRefs(theCompoundId: BRepGraph_CompoundId, theChildRefIds: NCollection_Array1_BRepGraph_ChildRefId): void
Replace the child reference list of a compound with a new set.
Parameters (2)theCompoundId—compound identifiertheChildRefIds—new child reference identifiers
- SetProductOccurrenceRefs(theProductId: BRepGraph_ProductId, theOccurrenceRefIds: NCollection_Array1_BRepGraph_OccurrenceRefId): void
Replace the occurrence reference list of a product with a new set.
Parameters (2)theProductId—product identifiertheOccurrenceRefIds—new occurrence reference identifiers
- BaseRef(theRefId: BRepGraph_RefId): BRepGraphInc_BaseRef
Return the BaseRef portion of any ref entry by generic RefId.
Parameters (1)theRefId—generic reference identifier
Returnsconst reference to the BaseRef base of the ref entry
- ChangeBaseRef(theRefId: BRepGraph_RefId): BRepGraphInc_BaseRef
Return the mutable BaseRef portion of any ref entry by generic RefId.
Parameters (1)theRefId—generic reference identifier
Returnsmutable pointer to the BaseRef base of the ref entry, or nullptr if not found
- FindNodeIdByUID(theUID: BRepGraph_UID): BRepGraph_NodeId
Resolve an active node UID through storage reverse maps.
Parameters (1)theUID
- FindRefIdByUID(theUID: BRepGraph_RefUID): BRepGraph_RefId
Resolve an active reference UID through storage reverse maps.
Parameters (1)theUID
- FindDefinitionByShape(theShape: TopoDS_Shape): BRepGraph_NodeId
Returns the node id bound to the given shape definition key, or invalid if not bound.
Parameters (1)theShape
- HasShapeBinding(theShape: TopoDS_Shape): boolean
Returns true if the given shape definition key is bound to a node.
Parameters (1)theShape
- SetDefinitionShapeBinding(theShape: TopoDS_Shape, theNodeId: BRepGraph_NodeId): void
Set or update the shape-to-node binding. Uses replacement semantics: binds if absent, updates if already bound.
Parameters (2)theShapetheNodeId
- RemoveDefinitionShapeBinding(theShape: TopoDS_Shape, theExpectedNodeId: BRepGraph_NodeId): boolean
Remove the shape-to-node binding only if it points to the expected node. Returns true if the binding was removed.
Parameters (2)theShapetheExpectedNodeId
- FindOriginal(theNodeId: BRepGraph_NodeId): TopoDS_Shape
Back-reference to the construction-time
TopoDS_Shapekey a node was built from. Only populated during graph construction; absent bindings are a valid state.
Returns the original shape for the given node id, or a null shape if not bound.Parameters (1)theNodeId
- HasOriginal(theNodeId: BRepGraph_NodeId): boolean
Returns true if the given node id has an original shape binding.
Parameters (1)theNodeId
- BindOriginal(theNodeId: BRepGraph_NodeId, theShape: TopoDS_Shape): void
Binds the given node id to its construction-time shape key.
Parameters (2)theNodeIdtheShape
- UnBindOriginal(theNodeId: BRepGraph_NodeId): void
Removes the original shape binding for the given node id.
Parameters (1)theNodeId
- CopyShapeBindingsFrom(theSource: BRepGraphInc_Storage): void
Copy shape-to-NodeId and Original shape bindings from another storage. Used by identity copy to preserve shape reconstruction bindings.
Parameters (1)theSource
- CurrentShapes(): any
Return the generation-validated node-to-shape reconstruction cache.
- ChangeCurrentShapes(): any
Return the mutable generation-validated node-to-shape reconstruction cache.
- CurrentShapesMutex(): unknown
Return the mutex protecting the reconstruction cache.
- ClearCurrentShapes(): void
Clear the generation-validated shape reconstruction cache.
- UnbindCurrentShape(theNode: BRepGraph_NodeId): void
Remove one entry from the generation-validated shape reconstruction cache.
Parameters (1)theNode
- ClearDeferredQueues(): void
Clear deferred invalidation queues and release their batch allocator.
- Clear(): void
Clear all storage.
- PrepareForLoad(theCounts: BRepGraphInc_Load_Counts): void
Prepare fixed-size destination ranges for indexed load.
This is an internal backend preparation API intended for persistence read paths that know final section sizes in advance. It clears previous content, pre-sizes defs/refs/reps and UID vectors, and initializes relation tables exactly once. The load path then restores serialized relation lists and callsRebuildDerivedRelations()once to refresh derived incoming maps.Parameters (1)theCounts—final per-section slot counts.
- SetActiveCounts(theCounts: BRepGraphInc_Load_Counts): void
Override active-slot counters after a trusted indexed load path.
This is intended for persistence backends that already touched every slot during load and therefore know exact active counts without rescanning storage after relation construction.Parameters (1)theCounts—trusted active per-section counts.
Build a Counts struct from current allocated slot counts.
Build a Counts struct from current active (non-removed) counts.
- RecountActiveCounts(): void
Recount active-slot counters from current
IsRemovedflags without rebuilding indexes. - RebuildDerivedRelations(): void
Rebuild centralized relation tables from entity and reference endpoints. This is intended for raw load, compact, and explicit repair paths only; editor mutations maintain relation containers incrementally.
Rebuild relation maps after a trusted load already restored active counts.
- CopyRemovedFlagsFrom(theSource: BRepGraphInc_Storage): void
Bulk-copy all RemovedFlags bit-planes from theSource. Source must have been loaded with the same entity counts (identity copy path).
Parameters (1)theSource
- ValidateRelations(): boolean
Debug: verify relation-table consistency against entity/reference endpoints.
Returnstrue if all relations are consistent
- ValidateWireCoEdgeOrder(theWireId: BRepGraph_WireId): boolean
Verify coedge ordering consistency for a specific wire.
Parameters (1)theWireId—wire identifier
Returnstrue if the coedge order is valid
- ValidateWireCoEdgeOrders(): boolean
Verify coedge ordering consistency for all wires.
Returnstrue if all wire coedge orders are valid
- CanonicalizeWireCoEdgeOrderStatus(theWireId: BRepGraph_WireId): BRepGraphInc_Storage_WireCoEdgeOrderStatus
Canonicalize the coedge ordering of a wire and report the achieved order quality.
Parameters (1)theWireId—wire identifier
Returnscanonicalization status
- CanonicalizeWireCoEdgeOrder(theWireId: BRepGraph_WireId): boolean
Canonicalize the coedge ordering of a wire to a consistent form.
Parameters (1)theWireId—wire identifier
Returnstrue if canonicalization succeeded
- RebuildUIDReverseIndexes(): void
Rebuild UID reverse indexes (UID->NodeId, RefUID->RefId) from the current UID vectors. Clears indexes and resets allocators before rebuilding. Called after Compact, Load, etc. where UID vectors have been modified externally.
- MarkUIDReverseIndexesDirty(): void
Mark UID reverse indexes stale after bulk UID-vector replacement.
- EnsureUIDReverseIndex(): void
Lazily rebuild the node UID reverse index if it is stale.
- EnsureRefUIDReverseIndex(): void
Lazily rebuild the reference UID reverse index if it is stale.
- CopyDerivedRelationsFrom(theSource: BRepGraphInc_Storage): void
Copy all forward/reverse relation vectors directly from theSource. Used by identity copy to avoid the clear+rebuild cycle.
Parameters (1)theSource
- HasCompoundParent(theNode: BRepGraph_NodeId): boolean
Return true if the node identified by the given generic NodeId has a parent compound. Dispatches by node kind to the appropriate per-kind bitset.
Parameters (1)theNode—generic node identifier
- HasOccurrenceParent(theNode: BRepGraph_NodeId): boolean
Return true if the node identified by the given generic NodeId has a parent occurrence. Dispatches by node kind to the appropriate per-kind bitset.
Parameters (1)theNode—generic node identifier
- IsGuarded(theId: BRepGraph_ItemId): boolean
Return true if the entity identified by the given typed ID has an active MutGuard.
Parameters (1)theId—typed entity identifier
- SetGuarded(theId: BRepGraph_ItemId): void
Register an active MutGuard on the entity identified by the given typed ID.
Parameters (1)theId—typed entity identifier
- ClearGuarded(theId: BRepGraph_ItemId): void
Deregister an active MutGuard from the entity identified by the given typed ID.
Parameters (1)theId—typed entity identifier
- HasAnyGuard(): boolean
Return true if any entity in any store has an active MutGuard. Used to assert no guards are active before
Clear().
BRepGraphInc_VertexDef
Constructors(1)
Properties(2)
BRepGraphInc_VertexRef
Constructors(1)
Properties(3)
BRepGraphInc_VertexRelations
Constructors(1)
Properties(1)
BRepGraphInc_WireDef
Constructors(1)
BRepGraphInc_WireRef
Constructors(1)
Properties(3)
BRepGraphInc_WireRelations
Constructors(1)
Properties(2)
BRepGraph_CoEdgeCurve2DRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_CoEdgeCurve2DRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_CoEdgePolygon2DRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_CoEdgePolygon2DRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_CoEdgePolygonOnTriRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_CoEdgePolygonOnTriRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_EdgeCurve3DRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_EdgeCurve3DRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_EdgePolygon3DRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_EdgePolygon3DRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_FaceSurfaceRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_FaceSurfaceRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_FaceTriangulationRepId
Constructors(2)
- constructor(theIdx: number): BRepGraph_FaceTriangulationRepIdParameters (1)
theIdx
Static methods(2)
Instance methods(3)
Properties(1)
BRepGraph_RepId
Lightweight typed index into a per-kind use-record vector inside BRepGraph.
The pair (Kind, Index) forms a unique use-record identifier within one graph instance. Default-constructed RepId has Index = UINT32_MAX (invalid).
Use records are session-local representation slots with no public stable UID, graph-level lock state, independent mutation generation, or layer callbacks. They do have a soft-removed state so an owner can clear and later reuse its slot.
Constructors(2)
Default: invalid RepId.
- constructor(theKind: BRepGraph_RepId_Kind, theIdx: number): BRepGraph_RepIdParameters (2)
theKindtheIdx
Static methods(1)
- IsValidKind(theKind: BRepGraph_RepId_Kind): boolean
True if the kind value is one of the supported use-record kinds.
Parameters (1)theKind