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

Face-oriented topology queries. More...

#include <BRepGraph_TopoView.hxx>

Public Member Functions

uint32_t Nb () const
 Return the total number of face definitions (including soft-removed).
uint32_t NbActive () const
 Return the number of active (non-soft-removed) face definitions.
BRepGraph_FaceId StartId () const
 Return the first valid face identifier for iteration.
BRepGraph_FaceId EndId () const
 Return the past-the-end face identifier (one past the last valid id).
const BRepGraphInc::FaceDef & Definition (const BRepGraph_FaceId theFace) const
 Return the definition struct for the given face.
const BRepGraphInc::FaceRelations & Relations (const BRepGraph_FaceId theFace) const
 Return the relation struct (adjacency lists) for the given face.
occ::handle< Geom_Surface > Surface (const BRepGraph_FaceId theFace) const
 Return the surface handle for the given face. May be null if the face has no surface representation.
occ::handle< Poly_Triangulation > ActiveTriangulation (const BRepGraph_FaceId theFace) const
 Return the active triangulation for the given face. Returns null if the face has no triangulation or it has been invalidated.

Detailed Description

Face-oriented topology queries.

Member Function Documentation

◆ ActiveTriangulation()

occ::handle< Poly_Triangulation > BRepGraph::TopoView::FaceOps::ActiveTriangulation ( const BRepGraph_FaceId theFace) const
nodiscard

Return the active triangulation for the given face. Returns null if the face has no triangulation or it has been invalidated.

Parameters
[in]theFacetyped face identifier

◆ Definition()

const BRepGraphInc::FaceDef & BRepGraph::TopoView::FaceOps::Definition ( const BRepGraph_FaceId theFace) const
nodiscard

Return the definition struct for the given face.

Parameters
[in]theFacetyped face identifier

◆ EndId()

BRepGraph_FaceId BRepGraph::TopoView::FaceOps::EndId ( ) const
inlinenodiscard

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

◆ Nb()

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

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

◆ NbActive()

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

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

◆ Relations()

const BRepGraphInc::FaceRelations & BRepGraph::TopoView::FaceOps::Relations ( const BRepGraph_FaceId theFace) const
nodiscard

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

Parameters
[in]theFacetyped face identifier

◆ StartId()

BRepGraph_FaceId BRepGraph::TopoView::FaceOps::StartId ( ) const
inlinenodiscard

Return the first valid face identifier for iteration.

◆ Surface()

occ::handle< Geom_Surface > BRepGraph::TopoView::FaceOps::Surface ( const BRepGraph_FaceId theFace) const
nodiscard

Return the surface handle for the given face. May be null if the face has no surface representation.

Parameters
[in]theFacetyped face identifier

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