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

CoEdge entity: use of an edge on a specific face, owns PCurve data. More...

#include <BRepGraphInc_Definition.hxx>

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

Public Types

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

Public Member Functions

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

Data Fields

BRepGraph_EdgeId EdgeDefId
 Parent edge definition id.
 
BRepGraph_FaceId FaceDefId
 Face this coedge belongs to (invalid for free wires)
 
TopAbs_Orientation Orientation = TopAbs_FORWARD
 Orientation relative to parent edge.
 
BRepGraph_Curve2DRepId Curve2DRepId
 Typed representation id into Storage::myCurves2D (invalid for free-wire coedges).
 
double ParamFirst = 0.0
 
double ParamLast = 0.0
 
gp_Pnt2d UV1
 UV at ParamFirst.
 
gp_Pnt2d UV2
 UV at ParamLast.
 
BRepGraph_Polygon2DRepId Polygon2DRepId
 Typed representation id into Storage::myPolygons2D (invalid if no polygon-on-surface).
 
BRepGraph_PolygonOnTriRepId PolygonOnTriRepId
 Typed representation id into Storage::myPolygonsOnTri (persistent/imported).
 
- 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

CoEdge entity: use of an edge on a specific face, owns PCurve data.

Each coedge represents one edge-face binding with its parametric curve. Wires reference coedges rather than edges directly. Seam edges produce two coedges on the same face with opposite Orientation; the seam relation is queryable via BRepGraph_Tool::CoEdge::SeamPair.

Member Typedef Documentation

◆ TypeId

Member Function Documentation

◆ InitVectors()

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

Field Documentation

◆ Curve2DRepId

BRepGraph_Curve2DRepId BRepGraphInc::CoEdgeDef::Curve2DRepId

Typed representation id into Storage::myCurves2D (invalid for free-wire coedges).

◆ EdgeDefId

BRepGraph_EdgeId BRepGraphInc::CoEdgeDef::EdgeDefId

Parent edge definition id.

◆ FaceDefId

BRepGraph_FaceId BRepGraphInc::CoEdgeDef::FaceDefId

Face this coedge belongs to (invalid for free wires)

◆ Orientation

TopAbs_Orientation BRepGraphInc::CoEdgeDef::Orientation = TopAbs_FORWARD

Orientation relative to parent edge.

◆ ParamFirst

double BRepGraphInc::CoEdgeDef::ParamFirst = 0.0

◆ ParamLast

double BRepGraphInc::CoEdgeDef::ParamLast = 0.0

◆ Polygon2DRepId

BRepGraph_Polygon2DRepId BRepGraphInc::CoEdgeDef::Polygon2DRepId

Typed representation id into Storage::myPolygons2D (invalid if no polygon-on-surface).

◆ PolygonOnTriRepId

BRepGraph_PolygonOnTriRepId BRepGraphInc::CoEdgeDef::PolygonOnTriRepId

Typed representation id into Storage::myPolygonsOnTri (persistent/imported).

◆ UV1

gp_Pnt2d BRepGraphInc::CoEdgeDef::UV1

UV at ParamFirst.

◆ UV2

gp_Pnt2d BRepGraphInc::CoEdgeDef::UV2

UV at ParamLast.


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