Open CASCADE Technology  6.9.1
Static Public Member Functions
GeomLib_Tool Class Reference

Provides various methods with Geom2d and Geom curves and surfaces. The methods of this class compute the parameter(s) of a given point on a curve or a surface. The point must be located either on the curve (surface) itself or relatively to the latter at a distance less than the tolerance value. Return FALSE if the point is beyond the tolerance limit or if computation fails. Max Tolerance value is currently limited to 1.e-4 for geometrical curves and 1.e-3 for BSpline, Bezier and other parametrical curves. More...

#include <GeomLib_Tool.hxx>

Static Public Member Functions

static Standard_Boolean Parameter (const Handle< Geom_Curve > &Curve, const gp_Pnt &Point, const Standard_Real Tolerance, Standard_Real &U)
 Extracts the parameter of a 3D point lying on a 3D curve or at a distance less than the tolerance value. More...
 
static Standard_Boolean Parameters (const Handle< Geom_Surface > &Surface, const gp_Pnt &Point, const Standard_Real Tolerance, Standard_Real &U, Standard_Real &V)
 Extracts the parameter of a 3D point lying on a surface or at a distance less than the tolerance value. More...
 
static Standard_Boolean Parameter (const Handle< Geom2d_Curve > &Curve, const gp_Pnt2d &Point, const Standard_Real Tolerance, Standard_Real &U)
 Extracts the parameter of a 2D point lying on a 2D curve or at a distance less than the tolerance value. More...
 

Detailed Description

Provides various methods with Geom2d and Geom curves and surfaces. The methods of this class compute the parameter(s) of a given point on a curve or a surface. The point must be located either on the curve (surface) itself or relatively to the latter at a distance less than the tolerance value. Return FALSE if the point is beyond the tolerance limit or if computation fails. Max Tolerance value is currently limited to 1.e-4 for geometrical curves and 1.e-3 for BSpline, Bezier and other parametrical curves.

Member Function Documentation

static Standard_Boolean GeomLib_Tool::Parameter ( const Handle< Geom_Curve > &  Curve,
const gp_Pnt Point,
const Standard_Real  Tolerance,
Standard_Real U 
)
static

Extracts the parameter of a 3D point lying on a 3D curve or at a distance less than the tolerance value.

static Standard_Boolean GeomLib_Tool::Parameter ( const Handle< Geom2d_Curve > &  Curve,
const gp_Pnt2d Point,
const Standard_Real  Tolerance,
Standard_Real U 
)
static

Extracts the parameter of a 2D point lying on a 2D curve or at a distance less than the tolerance value.

static Standard_Boolean GeomLib_Tool::Parameters ( const Handle< Geom_Surface > &  Surface,
const gp_Pnt Point,
const Standard_Real  Tolerance,
Standard_Real U,
Standard_Real V 
)
static

Extracts the parameter of a 3D point lying on a surface or at a distance less than the tolerance value.


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