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

Edge entity: parameter range, boundary vertices, flags. Geometry (curve, polygon) accessed via rep indices into Storage vectors. More...

#include <BRepGraphInc_Definition.hxx>

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

Public Types

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

Public Member Functions

void InitVectors (const occ::handle< NCollection_BaseAllocator > &theAlloc)
 Reinitialize inner vectors with the given allocator.
 

Data Fields

BRepGraph_Curve3DRepId Curve3DRepId
 Typed representation id into Storage::myCurves3D (invalid for degenerate edges).
 
double ParamFirst = 0.0
 Curve parameter range.
 
double ParamLast = 0.0
 
double Tolerance = 0.0
 Tolerance from BRep_TEdge.
 
bool IsDegenerate = false
 True if this edge collapses to a point on the surface.
 
bool SameParameter = false
 True if all PCurves are reparametrized to the same range as the 3D curve.
 
bool SameRange = false
 True if the PCurve parameter range equals the 3D curve parameter range.
 
bool IsClosed = false
 True if StartVertex == EndVertex (topological loop, e.g. circle edge).
 
BRepGraph_VertexRefId StartVertexRefId
 Boundary vertex reference ids (indices into VertexRef table). For closed edges, the start and end ref entries point to the same VertexDefId.
 
BRepGraph_VertexRefId EndVertexRefId
 
NCollection_DynamicArray< BRepGraph_VertexRefIdInternalVertexRefIds
 Additional vertex reference ids with INTERNAL or EXTERNAL orientation. Edges with only FORWARD/REVERSED boundary vertices leave this empty.
 
BRepGraph_Polygon3DRepId Polygon3DRepId
 Typed representation id into Storage::myPolygons3D (invalid if no polygon).
 
- 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

Edge entity: parameter range, boundary vertices, flags. Geometry (curve, polygon) accessed via rep indices into Storage vectors.

Member Typedef Documentation

◆ TypeId

Member Function Documentation

◆ InitVectors()

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

Reinitialize inner vectors with the given allocator.

Field Documentation

◆ Curve3DRepId

BRepGraph_Curve3DRepId BRepGraphInc::EdgeDef::Curve3DRepId

Typed representation id into Storage::myCurves3D (invalid for degenerate edges).

◆ EndVertexRefId

BRepGraph_VertexRefId BRepGraphInc::EdgeDef::EndVertexRefId

◆ InternalVertexRefIds

NCollection_DynamicArray<BRepGraph_VertexRefId> BRepGraphInc::EdgeDef::InternalVertexRefIds

Additional vertex reference ids with INTERNAL or EXTERNAL orientation. Edges with only FORWARD/REVERSED boundary vertices leave this empty.

◆ IsClosed

bool BRepGraphInc::EdgeDef::IsClosed = false

True if StartVertex == EndVertex (topological loop, e.g. circle edge).

◆ IsDegenerate

bool BRepGraphInc::EdgeDef::IsDegenerate = false

True if this edge collapses to a point on the surface.

◆ ParamFirst

double BRepGraphInc::EdgeDef::ParamFirst = 0.0

Curve parameter range.

◆ ParamLast

double BRepGraphInc::EdgeDef::ParamLast = 0.0

◆ Polygon3DRepId

BRepGraph_Polygon3DRepId BRepGraphInc::EdgeDef::Polygon3DRepId

Typed representation id into Storage::myPolygons3D (invalid if no polygon).

◆ SameParameter

bool BRepGraphInc::EdgeDef::SameParameter = false

True if all PCurves are reparametrized to the same range as the 3D curve.

◆ SameRange

bool BRepGraphInc::EdgeDef::SameRange = false

True if the PCurve parameter range equals the 3D curve parameter range.

◆ StartVertexRefId

BRepGraph_VertexRefId BRepGraphInc::EdgeDef::StartVertexRefId

Boundary vertex reference ids (indices into VertexRef table). For closed edges, the start and end ref entries point to the same VertexDefId.

◆ Tolerance

double BRepGraphInc::EdgeDef::Tolerance = 0.0

Tolerance from BRep_TEdge.


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