![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
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. | |
Face-oriented topology queries.
|
nodiscard |
Return the active triangulation for the given face. Returns null if the face has no triangulation or it has been invalidated.
| [in] | theFace | typed face identifier |
|
nodiscard |
Return the definition struct for the given face.
| [in] | theFace | typed face identifier |
|
inlinenodiscard |
Return the past-the-end face identifier (one past the last valid id).
|
nodiscard |
Return the total number of face definitions (including soft-removed).
|
nodiscard |
Return the number of active (non-soft-removed) face definitions.
|
nodiscard |
Return the relation struct (adjacency lists) for the given face.
| [in] | theFace | typed face identifier |
|
inlinenodiscard |
Return the first valid face identifier for iteration.
|
nodiscard |
Return the surface handle for the given face. May be null if the face has no surface representation.
| [in] | theFace | typed face identifier |