![]() |
Open CASCADE Technology Reference Manual 8.0.2
|
Occurrence-oriented raw assembly queries. More...
#include <BRepGraph_TopoView.hxx>
Public Member Functions | |
| uint32_t | Nb () const |
| Return the total number of occurrence definitions (including soft-removed). | |
| uint32_t | NbActive () const |
| Return the number of active (non-soft-removed) occurrence definitions. | |
| BRepGraph_OccurrenceId | StartId () const |
| Return the first valid occurrence identifier for iteration. | |
| BRepGraph_OccurrenceId | EndId () const |
| Return the past-the-end occurrence identifier (one past the last valid id). | |
| const BRepGraphInc::OccurrenceDef & | Definition (const BRepGraph_OccurrenceId theOccurrence) const |
| Return the definition struct for the given occurrence. | |
| const BRepGraphInc::OccurrenceRelations & | Relations (const BRepGraph_OccurrenceId theOccurrence) const |
| Return the relation struct (parent, placement) for the given occurrence. | |
| BRepGraph_ProductId | Product (const BRepGraph_OccurrenceId theOccurrence) const |
| Return the product that this occurrence instantiates. | |
| BRepGraph_ProductId | ParentProduct (const BRepGraph_OccurrenceId theOccurrence) const |
| Return the parent product that owns this occurrence. | |
| TopLoc_Location | OccurrenceLocation (const BRepGraph_OccurrenceId theOccurrence) const |
| Return the local placement of an occurrence (OccurrenceRef::LocalLocation). This is the placement relative to the parent product, not the global placement. For global placement, use ChildExplorer with cumulative location tracking. | |
Occurrence-oriented raw assembly queries.
|
nodiscard |
Return the definition struct for the given occurrence.
| [in] | theOccurrence | typed occurrence identifier |
|
inlinenodiscard |
Return the past-the-end occurrence identifier (one past the last valid id).
|
nodiscard |
Return the total number of occurrence definitions (including soft-removed).
|
nodiscard |
Return the number of active (non-soft-removed) occurrence definitions.
|
nodiscard |
Return the local placement of an occurrence (OccurrenceRef::LocalLocation). This is the placement relative to the parent product, not the global placement. For global placement, use ChildExplorer with cumulative location tracking.
| [in] | theOccurrence | typed occurrence identifier |
|
nodiscard |
Return the parent product that owns this occurrence.
| [in] | theOccurrence | typed occurrence identifier |
|
nodiscard |
Return the product that this occurrence instantiates.
| [in] | theOccurrence | typed occurrence identifier |
|
nodiscard |
Return the relation struct (parent, placement) for the given occurrence.
| [in] | theOccurrence | typed occurrence identifier |
|
inlinenodiscard |
Return the first valid occurrence identifier for iteration.