Open CASCADE Technology  7.3.0
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. To get the valid result the point must be located rather close to the curve (surface) or at least to allow getting unambiguous result (do not put point at center of circle...), but choice of "trust" distance between curve/surface and point is responcibility of user (parameter MaxDist). Return FALSE if the point is beyond the MaxDist limit or if computation fails. 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 MaxDist, Standard_Real &U)
 Extracts the parameter of a 3D point lying on a 3D curve or at a distance less than the MaxDist value. More...
 
static Standard_Boolean Parameters (const Handle< Geom_Surface > &Surface, const gp_Pnt &Point, const Standard_Real MaxDist, Standard_Real &U, Standard_Real &V)
 Extracts the parameter of a 3D point lying on a surface or at a distance less than the MaxDist value. More...
 
static Standard_Boolean Parameter (const Handle< Geom2d_Curve > &Curve, const gp_Pnt2d &Point, const Standard_Real MaxDist, Standard_Real &U)
 Extracts the parameter of a 2D point lying on a 2D curve or at a distance less than the MaxDist 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. To get the valid result the point must be located rather close to the curve (surface) or at least to allow getting unambiguous result (do not put point at center of circle...), but choice of "trust" distance between curve/surface and point is responcibility of user (parameter MaxDist). Return FALSE if the point is beyond the MaxDist limit or if computation fails.

Member Function Documentation

◆ Parameter() [1/2]

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

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

◆ Parameter() [2/2]

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

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

◆ Parameters()

static Standard_Boolean GeomLib_Tool::Parameters ( const Handle< Geom_Surface > &  Surface,
const gp_Pnt Point,
const Standard_Real  MaxDist,
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 MaxDist value.


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