Open CASCADE Technology 6.6.0
|
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.
#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. | |
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. | |
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. |
static Standard_Boolean GeomLib_Tool::Parameter | ( | const Handle< Geom_Curve > & | Curve, |
const gp_Pnt & | Point, | ||
const Standard_Real | Tolerance, | ||
Standard_Real & | U | ||
) | [static] |
static Standard_Boolean GeomLib_Tool::Parameter | ( | const Handle< Geom2d_Curve > & | Curve, |
const gp_Pnt2d & | Point, | ||
const Standard_Real | Tolerance, | ||
Standard_Real & | U | ||
) | [static] |
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] |