Open CASCADE Technology  7.6.0
Public Member Functions

StdPrs_ToolRFace Class Reference

Iterator over 2D curves restricting a face (skipping internal/external edges). In addition, the algorithm skips NULL curves - IsInvalidGeometry() can be checked if this should be handled within algorithm. More...

#include <StdPrs_ToolRFace.hxx>

Public Member Functions

 StdPrs_ToolRFace ()
 Empty constructor. More...
 
 StdPrs_ToolRFace (const Handle< BRepAdaptor_Surface > &aSurface)
 Constructor with initialization. More...
 
Standard_Boolean IsOriented () const
 Return TRUE indicating that iterator looks only for oriented edges. More...
 
void Init ()
 Move iterator to the first element. More...
 
Standard_Boolean More () const
 Return TRUE if iterator points to the curve. More...
 
void Next ()
 Go to the next curve in the face. More...
 
const Adaptor2d_Curve2dValue () const
 Return current curve. More...
 
const TopoDS_EdgeEdge () const
 Return current edge. More...
 
TopAbs_Orientation Orientation () const
 Return current edge orientation. More...
 
Standard_Boolean IsInvalidGeometry () const
 Return TRUE if NULL curves have been skipped. More...
 

Detailed Description

Iterator over 2D curves restricting a face (skipping internal/external edges). In addition, the algorithm skips NULL curves - IsInvalidGeometry() can be checked if this should be handled within algorithm.

Constructor & Destructor Documentation

◆ StdPrs_ToolRFace() [1/2]

StdPrs_ToolRFace::StdPrs_ToolRFace ( )

Empty constructor.

◆ StdPrs_ToolRFace() [2/2]

StdPrs_ToolRFace::StdPrs_ToolRFace ( const Handle< BRepAdaptor_Surface > &  aSurface)

Constructor with initialization.

Member Function Documentation

◆ Edge()

const TopoDS_Edge& StdPrs_ToolRFace::Edge ( ) const

Return current edge.

◆ Init()

void StdPrs_ToolRFace::Init ( )
inline

Move iterator to the first element.

◆ IsInvalidGeometry()

Standard_Boolean StdPrs_ToolRFace::IsInvalidGeometry ( ) const
inline

Return TRUE if NULL curves have been skipped.

◆ IsOriented()

Standard_Boolean StdPrs_ToolRFace::IsOriented ( ) const
inline

Return TRUE indicating that iterator looks only for oriented edges.

◆ More()

Standard_Boolean StdPrs_ToolRFace::More ( void  ) const
inline

Return TRUE if iterator points to the curve.

◆ Next()

void StdPrs_ToolRFace::Next ( void  )
inline

Go to the next curve in the face.

◆ Orientation()

TopAbs_Orientation StdPrs_ToolRFace::Orientation ( ) const
inline

Return current edge orientation.

◆ Value()

const Adaptor2d_Curve2d& StdPrs_ToolRFace::Value ( void  ) const
inline

Return current curve.


The documentation for this class was generated from the following file: