Open CASCADE Technology 7.8.0
|
Computes the max distance between edge and its 2d representation on the face. This class is not intended to process non-sameparameter edges. More...
#include <BRepLib_CheckCurveOnSurface.hxx>
Public Member Functions | |
BRepLib_CheckCurveOnSurface () | |
Default constructor. | |
BRepLib_CheckCurveOnSurface (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) | |
Constructor. | |
void | Init (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) |
Sets the data for the algorithm. | |
void | Perform () |
Performs the calculation If myIsParallel == Standard_True then computation will be performed in parallel. | |
Standard_Boolean | IsDone () const |
Returns true if the max distance has been found. | |
void | SetParallel (const Standard_Boolean theIsParallel) |
Sets parallel flag. | |
Standard_Boolean | IsParallel () |
Returns true if parallel flag is set. | |
Standard_Integer | ErrorStatus () const |
Returns error status The possible values are: 0 - OK; 1 - null curve or surface or 2d curve; 2 - invalid parametric range; 3 - error in calculations. | |
Standard_Real | MaxDistance () const |
Returns max distance. | |
Standard_Real | MaxParameter () const |
Returns parameter in which the distance is maximal. | |
Protected Member Functions | |
void | Compute (const Handle< Adaptor3d_CurveOnSurface > &theCurveOnSurface) |
Computes the max distance for the 3d curve of <myCOnSurfGeom> and 2d curve <theCurveOnSurface> If isMultiThread == Standard_True then computation will be performed in parallel. | |
Computes the max distance between edge and its 2d representation on the face. This class is not intended to process non-sameparameter edges.
|
inline |
Default constructor.
BRepLib_CheckCurveOnSurface::BRepLib_CheckCurveOnSurface | ( | const TopoDS_Edge & | theEdge, |
const TopoDS_Face & | theFace | ||
) |
Constructor.
|
protected |
Computes the max distance for the 3d curve of <myCOnSurfGeom> and 2d curve <theCurveOnSurface> If isMultiThread == Standard_True then computation will be performed in parallel.
|
inline |
Returns error status The possible values are: 0 - OK; 1 - null curve or surface or 2d curve; 2 - invalid parametric range; 3 - error in calculations.
void BRepLib_CheckCurveOnSurface::Init | ( | const TopoDS_Edge & | theEdge, |
const TopoDS_Face & | theFace | ||
) |
Sets the data for the algorithm.
|
inline |
Returns true if the max distance has been found.
|
inline |
Returns true if parallel flag is set.
|
inline |
Returns max distance.
|
inline |
Returns parameter in which the distance is maximal.
void BRepLib_CheckCurveOnSurface::Perform | ( | ) |
Performs the calculation If myIsParallel == Standard_True then computation will be performed in parallel.
|
inline |
Sets parallel flag.