![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
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. | |
Vertex-oriented topology queries.
|
nodiscard |
Return the definition struct for the given vertex.
| [in] | theVertex | typed vertex identifier |
|
nodiscard |
Return the edges incident to the given vertex.
| [in] | theVertex | typed vertex identifier |
|
inlinenodiscard |
Return the past-the-end vertex identifier (one past the last valid id).
|
nodiscard |
Return the total number of vertex definitions (including soft-removed).
|
nodiscard |
Return the number of active (non-soft-removed) vertex definitions.
|
nodiscard |
Return the relation struct (adjacency lists) for the given vertex.
| [in] | theVertex | typed vertex identifier |
|
inlinenodiscard |
Return the first valid vertex identifier for iteration.