Open CASCADE Technology
7.6.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. More... | |
BRepLib_CheckCurveOnSurface (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) | |
Constructor. More... | |
void | Init (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) |
Sets the data for the algorithm. More... | |
void | Perform (const Standard_Boolean isMultiThread=Standard_False) |
Performs the calculation If isMultiThread == Standard_True then computation will be performed in parallel. More... | |
Standard_Boolean | IsDone () const |
Returns true if the max distance has been found. More... | |
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. More... | |
Standard_Real | MaxDistance () const |
Returns max distance. More... | |
Standard_Real | MaxParameter () const |
Returns parameter in which the distance is maximal. More... | |
Protected Member Functions | |
void | Compute (const Handle< Adaptor3d_CurveOnSurface > &theCurveOnSurface, const Standard_Boolean isMultiThread) |
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. More... | |
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 max distance.
|
inline |
Returns parameter in which the distance is maximal.
void BRepLib_CheckCurveOnSurface::Perform | ( | const Standard_Boolean | isMultiThread = Standard_False | ) |
Performs the calculation If isMultiThread == Standard_True then computation will be performed in parallel.