Iterates on the underlying shape underlying a given GeomAPI_Shape object, providing access to its component sub-shapes.
More...
Iterates on the underlying shape underlying a given GeomAPI_Shape object, providing access to its component sub-shapes.
Each component shape is returned as a GeomAPI_Shape with an orientation, and a compound of the original values and the relative values.
◆ GeomAPI_ShapeIterator() [1/2]
| GeomAPI_ShapeIterator::GeomAPI_ShapeIterator |
( |
| ) |
|
Default constructor. Creates an empty iterator, becomes useful after Init.
◆ GeomAPI_ShapeIterator() [2/2]
| GeomAPI_ShapeIterator::GeomAPI_ShapeIterator |
( |
const std::shared_ptr< GeomAPI_Shape > |
theShape | ) |
|
Creates an iterator on theShape sub-shapes.
- Parameters
-
| [in] | theShape | shape to iterate. |
◆ init()
| void GeomAPI_ShapeIterator::init |
( |
const std::shared_ptr< GeomAPI_Shape > |
theShape | ) |
|
Initializes this iterator with theShape.
- Parameters
-
| [in] | theShape | shape to iterate. |
◆ more()
| bool GeomAPI_ShapeIterator::more |
( |
| ) |
const |
- Returns
- true if there is another sub-shape in the shape which this iterator is scanning.
◆ next()
| void GeomAPI_ShapeIterator::next |
( |
| ) |
|
Moves on to the next sub-shape in the shape which this iterator is scanning.
◆ current()
| std::shared_ptr< GeomAPI_Shape > GeomAPI_ShapeIterator::current |
( |
| ) |
|
- Returns
- the current sub-shape in the shape which this iterator is scanning.
◆ implPtr() [1/2]
template<class T >
| T* GeomAPI_Interface::implPtr |
( |
| ) |
|
|
inlineinherited |
Returns the pointer to the impl.
◆ implPtr() [2/2]
template<class T >
| const T* GeomAPI_Interface::implPtr |
( |
| ) |
const |
|
inlineinherited |
Returns the pointer to the impl.
◆ impl()
template<class T >
| const T& GeomAPI_Interface::impl |
( |
| ) |
const |
|
inlineinherited |
Returns the reference object of the impl.
◆ setImpl()
template<class T >
| void GeomAPI_Interface::setImpl |
( |
T * |
theImpl | ) |
|
|
inlineinherited |
Updates the impl (deletes the old one)
◆ empty()
| bool GeomAPI_Interface::empty |
( |
| ) |
const |
|
inherited |
Returns true if the impl is empty.