OCC Main Page | ModelingData | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingData
TKGeomBase
GeomLib


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>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT 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_EXPORT 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_EXPORT 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

void GeomLib_Tool::operator delete void *  anAddress  )  [inline]
 

void* GeomLib_Tool::operator new size_t  size  )  [inline]
 

void* GeomLib_Tool::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT Standard_Boolean GeomLib_Tool::Parameter const Handle(Geom2d_Curve)&  Curve,
const gp_Pnt2d &  Point,
const Standard_Real  Tolerance,
Standard_Real &  U
[static]
 

static Standard_EXPORT Standard_Boolean GeomLib_Tool::Parameter const Handle(Geom_Curve)&  Curve,
const gp_Pnt &  Point,
const Standard_Real  Tolerance,
Standard_Real &  U
[static]
 

static Standard_EXPORT 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:
Generated on Mon Aug 25 13:23:01 2008 for OpenCASCADE by  doxygen 1.4.1