Iterator over subshape layers. More...
#include <cadex/ModelData_BRepRepresentation.hxx>
Public Member Functions | |
LayerIterator (const ModelData_Shape &theSubshape, const ModelData_BRepRepresentation &theRep) | |
Constructor. | |
LayerIterator (const TopoDS_Shape &theSubshape, const ModelData_BRepRepresentation &theRep) | |
Constructor. | |
bool | HasNext () const |
Returns true if iterator points to valid element. | |
ModelData_Layer | Next () |
Returns current layer and moves iterator to the next one. | |
Iterator over subshape layers.
Provides Java style iterator API. Example:
cadex::ModelData_BRepRepresentation::LayerIterator::LayerIterator | ( | const ModelData_Shape & | theSubshape, |
const ModelData_BRepRepresentation & | theRep | ||
) |
Constructor.
theSubshape should belong to theRep.
cadex::ModelData_BRepRepresentation::LayerIterator::LayerIterator | ( | const TopoDS_Shape & | theSubshape, |
const ModelData_BRepRepresentation & | theRep | ||
) |
Constructor.
theSubshape should belong to theRep.