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

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 ( ) const
inline

Return TRUE if iterator points to the curve.

◆ Next()

void StdPrs_ToolRFace::Next ( )
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 ( ) const
inline

Return current curve.


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