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

Vertex-oriented topology queries. More...

#include <BRepGraph_TopoView.hxx>

Public Member Functions

uint32_t Nb () const
 Return the total number of vertex definitions (including soft-removed).
uint32_t NbActive () const
 Return the number of active (non-soft-removed) vertex definitions.
BRepGraph_VertexId StartId () const
 Return the first valid vertex identifier for iteration.
BRepGraph_VertexId EndId () const
 Return the past-the-end vertex identifier (one past the last valid id).
const BRepGraphInc::VertexDef & Definition (const BRepGraph_VertexId theVertex) const
 Return the definition struct for the given vertex.
const BRepGraphInc::VertexRelations & Relations (const BRepGraph_VertexId theVertex) const
 Return the relation struct (adjacency lists) for the given vertex.
const NCollection_LinearVector< BRepGraph_EdgeId > & Edges (const BRepGraph_VertexId theVertex) const
 Return the edges incident to the given vertex.

Detailed Description

Vertex-oriented topology queries.

Member Function Documentation

◆ Definition()

const BRepGraphInc::VertexDef & BRepGraph::TopoView::VertexOps::Definition ( const BRepGraph_VertexId theVertex) const
nodiscard

Return the definition struct for the given vertex.

Parameters
[in]theVertextyped vertex identifier

◆ Edges()

const NCollection_LinearVector< BRepGraph_EdgeId > & BRepGraph::TopoView::VertexOps::Edges ( const BRepGraph_VertexId theVertex) const
nodiscard

Return the edges incident to the given vertex.

Parameters
[in]theVertextyped vertex identifier

◆ EndId()

BRepGraph_VertexId BRepGraph::TopoView::VertexOps::EndId ( ) const
inlinenodiscard

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

◆ Nb()

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

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

◆ NbActive()

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

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

◆ Relations()

const BRepGraphInc::VertexRelations & BRepGraph::TopoView::VertexOps::Relations ( const BRepGraph_VertexId theVertex) const
nodiscard

Return the relation struct (adjacency lists) for the given vertex.

Parameters
[in]theVertextyped vertex identifier

◆ StartId()

BRepGraph_VertexId BRepGraph::TopoView::VertexOps::StartId ( ) const
inlinenodiscard

Return the first valid vertex identifier for iteration.


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