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

Compound-oriented topology queries. More...

#include <BRepGraph_TopoView.hxx>

Public Member Functions

uint32_t Nb () const
 Return the total number of compound definitions (including soft-removed).
uint32_t NbActive () const
 Return the number of active (non-soft-removed) compound definitions.
BRepGraph_CompoundId StartId () const
 Return the first valid compound identifier for iteration.
BRepGraph_CompoundId EndId () const
 Return the past-the-end compound identifier (one past the last valid id).
const BRepGraphInc::CompoundDef & Definition (const BRepGraph_CompoundId theCompound) const
 Return the definition struct for the given compound.
const BRepGraphInc::CompoundRelations & Relations (const BRepGraph_CompoundId theCompound) const
 Return the relation struct (child references) for the given compound.

Detailed Description

Compound-oriented topology queries.

Member Function Documentation

◆ Definition()

const BRepGraphInc::CompoundDef & BRepGraph::TopoView::CompoundOps::Definition ( const BRepGraph_CompoundId theCompound) const
nodiscard

Return the definition struct for the given compound.

Parameters
[in]theCompoundtyped compound identifier

◆ EndId()

BRepGraph_CompoundId BRepGraph::TopoView::CompoundOps::EndId ( ) const
inlinenodiscard

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

◆ Nb()

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

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

◆ NbActive()

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

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

◆ Relations()

const BRepGraphInc::CompoundRelations & BRepGraph::TopoView::CompoundOps::Relations ( const BRepGraph_CompoundId theCompound) const
nodiscard

Return the relation struct (child references) for the given compound.

Parameters
[in]theCompoundtyped compound identifier

◆ StartId()

BRepGraph_CompoundId BRepGraph::TopoView::CompoundOps::StartId ( ) const
inlinenodiscard

Return the first valid compound identifier for iteration.


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