Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
BRepGraphInc::OccurrenceDef Struct Reference

Occurrence entity: reference to a child node (topology root or product). The parent product is determined from OccurrenceRef::ParentId (BaseRef). Placement lives on OccurrenceRef::LocalLocation (definitions never carry location). Path-based traversal (PathView::ForEachPathTo) resolves DAG paths without stored parent-occurrence pointers. More...

#include <BRepGraphInc_Definition.hxx>

Inheritance diagram for BRepGraphInc::OccurrenceDef:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

void InitVectors (const occ::handle< NCollection_BaseAllocator > &)
 No-op: OccurrenceDef has no inner vectors to reinitialize. Present for uniform DefStore<T>::Append() logic.
 

Data Fields

BRepGraph_NodeId ChildDefId
 Referenced child node (topology root or product)
 
- Data Fields inherited from BRepGraphInc::BaseDef
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 BRepGraph_Data::myPropagationWave.
 
bool IsRemoved = false
 Soft-removal flag.
 

Detailed Description

Occurrence entity: reference to a child node (topology root or product). The parent product is determined from OccurrenceRef::ParentId (BaseRef). Placement lives on OccurrenceRef::LocalLocation (definitions never carry location). Path-based traversal (PathView::ForEachPathTo) resolves DAG paths without stored parent-occurrence pointers.

Member Typedef Documentation

◆ TypeId

Member Function Documentation

◆ InitVectors()

void BRepGraphInc::OccurrenceDef::InitVectors ( const occ::handle< NCollection_BaseAllocator > & )
inline

No-op: OccurrenceDef has no inner vectors to reinitialize. Present for uniform DefStore<T>::Append() logic.

Field Documentation

◆ ChildDefId

BRepGraph_NodeId BRepGraphInc::OccurrenceDef::ChildDefId

Referenced child node (topology root or product)


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