Product-oriented raw assembly queries.
More...
#include <BRepGraph_TopoView.hxx>
Product-oriented raw assembly queries.
◆ Component()
Return the i-th active child occurrence identifier of a product.
- Parameters
-
| [in] | theProduct | typed product definition identifier |
| [in] | theComponentIdx | zero-based active occurrence index within the product |
◆ Definition()
Return the definition struct for the given product.
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ EndId()
Return the past-the-end product identifier (one past the last valid id).
◆ IsAssembly()
True if the product is an assembly (has active child occurrences and no topology root).
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ IsPart()
True if the product is a part (has a valid topology root).
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ Nb()
| uint32_t BRepGraph::TopoView::ProductOps::Nb |
( |
| ) |
const |
|
nodiscard |
Return the total number of product definitions (including soft-removed).
◆ NbActive()
| uint32_t BRepGraph::TopoView::ProductOps::NbActive |
( |
| ) |
const |
|
nodiscard |
Return the number of active (non-soft-removed) product definitions.
◆ NbComponents()
| uint32_t BRepGraph::TopoView::ProductOps::NbComponents |
( |
const BRepGraph_ProductId | theProduct | ) |
const |
|
nodiscard |
Number of active child occurrences of a product.
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ Relations()
Return the relation struct (occurrences, shape root) for the given product.
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ ShapeRoot()
Return the topology root NodeId for the given product. For assemblies (no topology root) returns an invalid NodeId.
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ ShapeRootNode()
Return the topology root NodeId for a part product. For assemblies (no topology root) returns an invalid NodeId.
- Parameters
-
| [in] | theProduct | typed product definition identifier |
◆ StartId()
Return the first valid product identifier for iteration.
The documentation for this class was generated from the following file: