Open CASCADE Technology  7.0.0
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 (void)
 Default contructor. More...
 
 GeomLib_CheckCurveOnSurface (const Handle< Geom_Curve > &theCurve, const Handle< Geom_Surface > &theSurface, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTolRange=Precision::PConfusion())
 Contructor. More...
 
void Init (const Handle< Geom_Curve > &theCurve, const Handle< Geom_Surface > &theSurface, const Standard_Real theFirst, const Standard_Real theLast, const Standard_Real theTolRange=Precision::PConfusion())
 Sets the data for the algorithm. More...
 
void Init ()
 Initializes all members by dafault values. More...
 
void Perform (const Handle< Geom2d_Curve > &thePCurve, const Standard_Boolean isTheMultyTheradDisabled=Standard_False)
 Computes the max distance for the 3d curve <myCurve> and 2d curve <thePCurve> If isTheMultyTheadDisabled == TRUE then computation will be made without any parallelization. More...
 
const Handle< Geom_Curve > & Curve () const
 Returns my3DCurve. More...
 
const Handle< Geom_Surface > & Surface () const
 Returns mySurface. More...
 
void Range (Standard_Real &theFirst, Standard_Real &theLast)
 Returns first and last parameter of the curves (2D- and 3D-curves are considered to have same range) 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...
 

Detailed Description

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

Constructor & Destructor Documentation

GeomLib_CheckCurveOnSurface::GeomLib_CheckCurveOnSurface ( void  )

Default contructor.

GeomLib_CheckCurveOnSurface::GeomLib_CheckCurveOnSurface ( const Handle< Geom_Curve > &  theCurve,
const Handle< Geom_Surface > &  theSurface,
const Standard_Real  theFirst,
const Standard_Real  theLast,
const Standard_Real  theTolRange = Precision::PConfusion() 
)

Contructor.

Member Function Documentation

const Handle< Geom_Curve >& GeomLib_CheckCurveOnSurface::Curve ( ) const
inline

Returns my3DCurve.

Standard_Integer 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.

void GeomLib_CheckCurveOnSurface::Init ( const Handle< Geom_Curve > &  theCurve,
const Handle< Geom_Surface > &  theSurface,
const Standard_Real  theFirst,
const Standard_Real  theLast,
const Standard_Real  theTolRange = Precision::PConfusion() 
)

Sets the data for the algorithm.

void GeomLib_CheckCurveOnSurface::Init ( )

Initializes all members by dafault values.

Standard_Boolean GeomLib_CheckCurveOnSurface::IsDone ( ) const
inline

Returns true if the max distance has been found.

Standard_Real GeomLib_CheckCurveOnSurface::MaxDistance ( ) const
inline

Returns max distance.

Standard_Real GeomLib_CheckCurveOnSurface::MaxParameter ( ) const
inline

Returns parameter in which the distance is maximal.

void GeomLib_CheckCurveOnSurface::Perform ( const Handle< Geom2d_Curve > &  thePCurve,
const Standard_Boolean  isTheMultyTheradDisabled = Standard_False 
)

Computes the max distance for the 3d curve <myCurve> and 2d curve <thePCurve> If isTheMultyTheadDisabled == TRUE then computation will be made without any parallelization.

void GeomLib_CheckCurveOnSurface::Range ( Standard_Real theFirst,
Standard_Real theLast 
)
inline

Returns first and last parameter of the curves (2D- and 3D-curves are considered to have same range)

const Handle< Geom_Surface >& GeomLib_CheckCurveOnSurface::Surface ( ) const
inline

Returns mySurface.


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