Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraphInc::OccurrenceDef Struct Reference

Occurrence entity: reference to a child node (topology root or product). Parent products are determined from ProductRelations owner arrays. Placement lives on OccurrenceRef::LocalLocation (definitions never carry location). Path-based traversal (BRepGraph_UsagePath) resolves DAG paths without stored parent-occurrence pointers. More...

#include <BRepGraphInc_Definition.hxx>

Inheritance diagram for BRepGraphInc::OccurrenceDef:

Public Types

using TypeId = BRepGraph_OccurrenceId
Public Types inherited from BRepGraphInc::BaseDef
using TypeId = BRepGraph_NodeId

Data Fields

BRepGraph_NodeId ChildNodeId
 Referenced child node (topology root or product)
Data Fields inherited from BRepGraphInc::BaseDef
uint32_t UID = 0
 Persistent per-kind UID counter value. 0 = invalid sentinel (not yet allocated). Valid UIDs start at 1. Kind is implicit from the concrete struct type (VertexDef, EdgeDef, etc.).
uint32_t OwnGen = 0
 Own-data mutation counter, incremented ONLY when the entity's own definition fields change (tolerance, point, flags, etc.). NOT incremented by descendant changes. Used by VersionStamp for persistent identity staleness detection.
uint32_t SubtreeGen = 0
 Subtree mutation counter, incremented when own data OR any descendant data changes. Propagated upward via markParentSubtreeGen(). Used by TransientCache and shape cache for hierarchical freshness.
uint32_t LastPropWave = 0
 Wave counter from the last propagation that visited this node. Used as a re-visit guard in markParentSubtreeGen() to prevent exponential blowup on diamond topologies. Compared against BRepGraphInc_Storage::myPropagationWave.

Detailed Description

Occurrence entity: reference to a child node (topology root or product). Parent products are determined from ProductRelations owner arrays. Placement lives on OccurrenceRef::LocalLocation (definitions never carry location). Path-based traversal (BRepGraph_UsagePath) resolves DAG paths without stored parent-occurrence pointers.

Member Typedef Documentation

◆ TypeId

Field Documentation

◆ ChildNodeId

BRepGraph_NodeId BRepGraphInc::OccurrenceDef::ChildNodeId

Referenced child node (topology root or product)


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