Iterates on the underlying shape underlying a given TopoDS_Shape object, providing access to its component sub-shapes. Each component shape is returned as a TopoDS_Shape with an orientation, and a compound of the original values and the relative values.
More...
#include <TopoDS_Iterator.hxx>
Iterates on the underlying shape underlying a given TopoDS_Shape object, providing access to its component sub-shapes. Each component shape is returned as a TopoDS_Shape with an orientation, and a compound of the original values and the relative values.
◆ TopoDS_Iterator() [1/2]
TopoDS_Iterator::TopoDS_Iterator |
( |
| ) |
|
|
inline |
Creates an empty Iterator.
◆ TopoDS_Iterator() [2/2]
Creates an Iterator on sub-shapes. Note:
- If cumOri is true, the function composes all sub-shapes with the orientation of S.
- If cumLoc is true, the function multiplies all sub-shapes by the location of S, i.e. it applies to each sub-shape the transformation that is associated with S.
◆ Initialize()
Initializes this iterator with shape S. Note:
- If cumOri is true, the function composes all sub-shapes with the orientation of S.
- If cumLoc is true, the function multiplies all sub-shapes by the location of S, i.e. it applies to each sub-shape the transformation that is associated with S.
◆ More()
Returns true if there is another sub-shape in the shape which this iterator is scanning.
◆ Next()
void TopoDS_Iterator::Next |
( |
| ) |
|
Moves on to the next sub-shape in the shape which this iterator is scanning. Exceptions Standard_NoMoreObject if there are no more sub-shapes in the shape.
◆ Value()
Returns the current sub-shape in the shape which this iterator is scanning. Exceptions Standard_NoSuchObject if there is no current sub-shape.
The documentation for this class was generated from the following file: