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

Fields shared by every entity. More...

#include <BRepGraphInc_Definition.hxx>

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

Public Types

using TypeId = BRepGraph_NodeId
 

Data Fields

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

Fields shared by every entity.

Member Typedef Documentation

◆ TypeId

Field Documentation

◆ IsRemoved

bool BRepGraphInc::BaseDef::IsRemoved = false

Soft-removal flag.

◆ LastPropWave

uint32_t BRepGraphInc::BaseDef::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.

◆ OwnGen

uint32_t BRepGraphInc::BaseDef::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.

◆ SubtreeGen

uint32_t BRepGraphInc::BaseDef::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.


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