Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
GeomLib_Tool Class Reference

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


Member Function Documentation

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]

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