Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
GeomLib_CheckCurveOnSurface Class Reference

Computes the max distance between 3D-curve and 2D-curve in some surface. More...

#include <GeomLib_CheckCurveOnSurface.hxx>

Public Member Functions

 GeomLib_CheckCurveOnSurface ()
 Default constructor.
 
 GeomLib_CheckCurveOnSurface (const occ::handle< Adaptor3d_Curve > &theCurve, const double theTolRange=Precision::PConfusion())
 Constructor.
 
void Init (const occ::handle< Adaptor3d_Curve > &theCurve, const double theTolRange=Precision::PConfusion())
 Sets the data for the algorithm.
 
void Init ()
 Initializes all members by default values.
 
void Perform (const occ::handle< Adaptor3d_CurveOnSurface > &theCurveOnSurface)
 Computes the max distance for the 3d curve <myCurve> and 2d curve <theCurveOnSurface> If isMultiThread == true then computation will be performed in parallel.
 
void SetParallel (const bool theIsParallel)
 Sets parallel flag.
 
bool IsParallel ()
 Returns true if parallel flag is set.
 
bool IsDone () const
 Returns true if the max distance has been found.
 
int 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.
 
double MaxDistance () const
 Returns max distance.
 
double MaxParameter () const
 Returns parameter in which the distance is maximal.
 

Detailed Description

Computes the max distance between 3D-curve and 2D-curve in some surface.

Constructor & Destructor Documentation

◆ GeomLib_CheckCurveOnSurface() [1/2]

GeomLib_CheckCurveOnSurface::GeomLib_CheckCurveOnSurface ( )

Default constructor.

◆ GeomLib_CheckCurveOnSurface() [2/2]

GeomLib_CheckCurveOnSurface::GeomLib_CheckCurveOnSurface ( const occ::handle< Adaptor3d_Curve > & theCurve,
const double theTolRange = Precision::PConfusion() )

Constructor.

Member Function Documentation

◆ ErrorStatus()

int GeomLib_CheckCurveOnSurface::ErrorStatus ( ) const
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.

◆ Init() [1/2]

void GeomLib_CheckCurveOnSurface::Init ( )

Initializes all members by default values.

◆ Init() [2/2]

void GeomLib_CheckCurveOnSurface::Init ( const occ::handle< Adaptor3d_Curve > & theCurve,
const double theTolRange = Precision::PConfusion() )

Sets the data for the algorithm.

◆ IsDone()

bool GeomLib_CheckCurveOnSurface::IsDone ( ) const
inline

Returns true if the max distance has been found.

◆ IsParallel()

bool GeomLib_CheckCurveOnSurface::IsParallel ( )
inline

Returns true if parallel flag is set.

◆ MaxDistance()

double GeomLib_CheckCurveOnSurface::MaxDistance ( ) const
inline

Returns max distance.

◆ MaxParameter()

double GeomLib_CheckCurveOnSurface::MaxParameter ( ) const
inline

Returns parameter in which the distance is maximal.

◆ Perform()

void GeomLib_CheckCurveOnSurface::Perform ( const occ::handle< Adaptor3d_CurveOnSurface > & theCurveOnSurface)

Computes the max distance for the 3d curve <myCurve> and 2d curve <theCurveOnSurface> If isMultiThread == true then computation will be performed in parallel.

◆ SetParallel()

void GeomLib_CheckCurveOnSurface::SetParallel ( const bool theIsParallel)
inline

Sets parallel flag.


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