Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
BRepGraph::TopoView::CoEdgeOps Class Reference

Coedge-oriented topology and representation queries. More...

#include <BRepGraph_TopoView.hxx>

Public Member Functions

uint32_t Nb () const
 Return the total number of coedge definitions (including soft-removed).
uint32_t NbActive () const
 Return the number of active (non-soft-removed) coedge definitions.
BRepGraph_CoEdgeId StartId () const
 Return the first valid coedge identifier for iteration.
BRepGraph_CoEdgeId EndId () const
 Return the past-the-end coedge identifier (one past the last valid id).
const BRepGraphInc::CoEdgeDef & Definition (const BRepGraph_CoEdgeId theCoEdge) const
 Return the definition struct for the given coedge.
BRepGraph_EdgeId Edge (const BRepGraph_CoEdgeId theCoEdge) const
 Return the parent edge of the given coedge.
BRepGraph_FaceId Face (const BRepGraph_CoEdgeId theCoEdge) const
 Return the face that owns the given coedge.
BRepGraph_WireId Wire (const BRepGraph_CoEdgeId theCoEdge) const
 Return the wire that owns the given coedge.
occ::handle< Geom2d_Curve > Curve2D (const BRepGraph_CoEdgeId theCoEdge) const
 Return the 2D PCurve handle for the given coedge. May be null if the coedge has no PCurve representation.

Detailed Description

Coedge-oriented topology and representation queries.

Member Function Documentation

◆ Curve2D()

occ::handle< Geom2d_Curve > BRepGraph::TopoView::CoEdgeOps::Curve2D ( const BRepGraph_CoEdgeId theCoEdge) const
nodiscard

Return the 2D PCurve handle for the given coedge. May be null if the coedge has no PCurve representation.

Parameters
[in]theCoEdgetyped coedge identifier

◆ Definition()

const BRepGraphInc::CoEdgeDef & BRepGraph::TopoView::CoEdgeOps::Definition ( const BRepGraph_CoEdgeId theCoEdge) const
nodiscard

Return the definition struct for the given coedge.

Parameters
[in]theCoEdgetyped coedge identifier

◆ Edge()

BRepGraph_EdgeId BRepGraph::TopoView::CoEdgeOps::Edge ( const BRepGraph_CoEdgeId theCoEdge) const
nodiscard

Return the parent edge of the given coedge.

Parameters
[in]theCoEdgetyped coedge identifier

◆ EndId()

BRepGraph_CoEdgeId BRepGraph::TopoView::CoEdgeOps::EndId ( ) const
inlinenodiscard

Return the past-the-end coedge identifier (one past the last valid id).

◆ Face()

BRepGraph_FaceId BRepGraph::TopoView::CoEdgeOps::Face ( const BRepGraph_CoEdgeId theCoEdge) const
nodiscard

Return the face that owns the given coedge.

Parameters
[in]theCoEdgetyped coedge identifier

◆ Nb()

uint32_t BRepGraph::TopoView::CoEdgeOps::Nb ( ) const
nodiscard

Return the total number of coedge definitions (including soft-removed).

◆ NbActive()

uint32_t BRepGraph::TopoView::CoEdgeOps::NbActive ( ) const
nodiscard

Return the number of active (non-soft-removed) coedge definitions.

◆ StartId()

BRepGraph_CoEdgeId BRepGraph::TopoView::CoEdgeOps::StartId ( ) const
inlinenodiscard

Return the first valid coedge identifier for iteration.

◆ Wire()

BRepGraph_WireId BRepGraph::TopoView::CoEdgeOps::Wire ( const BRepGraph_CoEdgeId theCoEdge) const
nodiscard

Return the wire that owns the given coedge.

Parameters
[in]theCoEdgetyped coedge identifier

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