Open CASCADE Technology 7.8.2.dev
|
Computes the max distance between 3D-curve and 2D-curve in some surface. More...
#include <GeomLib_CheckCurveOnSurface.hxx>
Public Member Functions | |
GeomLib_CheckCurveOnSurface (void) | |
Default constructor. | |
GeomLib_CheckCurveOnSurface (const Handle< Adaptor3d_Curve > &theCurve, const Standard_Real theTolRange=Precision::PConfusion()) | |
Constructor. | |
void | Init (const Handle< Adaptor3d_Curve > &theCurve, const Standard_Real theTolRange=Precision::PConfusion()) |
Sets the data for the algorithm. | |
void | Init () |
Initializes all members by default values. | |
void | Perform (const Handle< Adaptor3d_CurveOnSurface > &theCurveOnSurface) |
Computes the max distance for the 3d curve <myCurve> and 2d curve <theCurveOnSurface> If isMultiThread == Standard_True then computation will be performed in parallel. | |
void | SetParallel (const Standard_Boolean theIsParallel) |
Sets parallel flag. | |
Standard_Boolean | IsParallel () |
Returns true if parallel flag is set. | |
Standard_Boolean | IsDone () const |
Returns true if the max distance has been found. | |
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. | |
Computes the max distance between 3D-curve and 2D-curve in some surface.
GeomLib_CheckCurveOnSurface::GeomLib_CheckCurveOnSurface | ( | void | ) |
Default constructor.
GeomLib_CheckCurveOnSurface::GeomLib_CheckCurveOnSurface | ( | const Handle< Adaptor3d_Curve > & | theCurve, |
const Standard_Real | theTolRange = Precision::PConfusion() ) |
Constructor.
|
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 GeomLib_CheckCurveOnSurface::Init | ( | ) |
Initializes all members by default values.
void GeomLib_CheckCurveOnSurface::Init | ( | const Handle< Adaptor3d_Curve > & | theCurve, |
const Standard_Real | theTolRange = Precision::PConfusion() ) |
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 GeomLib_CheckCurveOnSurface::Perform | ( | const Handle< Adaptor3d_CurveOnSurface > & | theCurveOnSurface | ) |
Computes the max distance for the 3d curve <myCurve> and 2d curve <theCurveOnSurface> If isMultiThread == Standard_True then computation will be performed in parallel.
|
inline |
Sets parallel flag.