![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Auxiliary class to iterate through edges. Provides functionality to iterate through the edges of a shape. It inherits from RWMesh_ShapeIterator and implements methods to access and manipulate edge data.
More...
#include <RWMesh_EdgeIterator.hxx>

Public Member Functions | |
| RWMesh_EdgeIterator (const TDF_Label &theLabel, const TopLoc_Location &theLocation, const bool theToMapColors=false, const XCAFPrs_Style &theStyle=XCAFPrs_Style()) | |
| Main constructor. | |
| RWMesh_EdgeIterator (const TopoDS_Shape &theShape, const XCAFPrs_Style &theStyle=XCAFPrs_Style()) | |
| Auxiliary constructor. | |
| bool | More () const override |
| Return true if iterator points to the valid triangulation. | |
| void | Next () override |
| Find next value. | |
| const TopoDS_Edge & | Edge () const |
| Return current edge. | |
| const TopoDS_Shape & | Shape () const override |
| Return current edge. | |
| const occ::handle< Poly_Polygon3D > & | Polygon3D () const |
| Return current edge data. | |
| bool | IsEmpty () const override |
| Return true if geometry data is defined. | |
| int | ElemLower () const override |
| Lower element index in current triangulation. | |
| int | ElemUpper () const override |
| Upper element index in current triangulation. | |
| int | NbNodes () const override |
| Return number of nodes for the current edge. | |
| int | NodeLower () const override |
| Lower node index in current triangulation. | |
| int | NodeUpper () const override |
| Upper node index in current triangulation. | |
| gp_Pnt | node (const int theNode) const override |
| Return the node with specified index with applied transformation. | |
Public Member Functions inherited from RWMesh_ShapeIterator | |
| const TopoDS_Shape & | ExploredShape () const |
| Return explored shape. | |
| const XCAFPrs_Style & | Style () const |
| Return shape material. | |
| bool | HasColor () const |
| Return TRUE if shape color is set. | |
| const Quantity_ColorRGBA & | Color () const |
| Return shape color. | |
| gp_Pnt | NodeTransformed (const int theNode) const |
| Return the node with specified index with applied transformation. | |
Auxiliary class to iterate through edges. Provides functionality to iterate through the edges of a shape. It inherits from RWMesh_ShapeIterator and implements methods to access and manipulate edge data.
| RWMesh_EdgeIterator::RWMesh_EdgeIterator | ( | const TDF_Label & | theLabel, |
| const TopLoc_Location & | theLocation, | ||
| const bool | theToMapColors = false, | ||
| const XCAFPrs_Style & | theStyle = XCAFPrs_Style() ) |
Main constructor.
| [in] | theLabel | The label of the shape. |
| [in] | theLocation | The location of the shape. |
| [in] | theToMapColors | Flag to indicate if colors should be mapped. |
| [in] | theStyle | The style of the shape. |
| RWMesh_EdgeIterator::RWMesh_EdgeIterator | ( | const TopoDS_Shape & | theShape, |
| const XCAFPrs_Style & | theStyle = XCAFPrs_Style() ) |
Auxiliary constructor.
| [in] | theShape | The shape to iterate. |
| [in] | theStyle | The style of the shape. |
|
inline |
Return current edge.
|
inlineoverridevirtual |
Lower element index in current triangulation.
Implements RWMesh_ShapeIterator.
|
inlineoverridevirtual |
Upper element index in current triangulation.
Implements RWMesh_ShapeIterator.
|
inlineoverridevirtual |
Return true if geometry data is defined.
Implements RWMesh_ShapeIterator.
|
inlineoverridevirtual |
Return true if iterator points to the valid triangulation.
Implements RWMesh_ShapeIterator.
|
inlineoverridevirtual |
Return number of nodes for the current edge.
Implements RWMesh_ShapeIterator.
|
overridevirtual |
Find next value.
Implements RWMesh_ShapeIterator.
Return the node with specified index with applied transformation.
Implements RWMesh_ShapeIterator.
|
inlineoverridevirtual |
Lower node index in current triangulation.
Implements RWMesh_ShapeIterator.
|
inlineoverridevirtual |
Upper node index in current triangulation.
Implements RWMesh_ShapeIterator.
|
inline |
Return current edge data.
|
inlineoverridevirtual |
Return current edge.
Implements RWMesh_ShapeIterator.