Open CASCADE Technology
6.9.0
|
The GeomAPI package provides an Application Programming Interface for the Geometry. More...
#include <GeomAPI.hxx>
Static Public Member Functions | |
static Handle< Geom2d_Curve > | To2d (const Handle< Geom_Curve > &C, const gp_Pln &P) |
This function builds (in the parametric space of the plane P) a 2D curve equivalent to the 3D curve C. The 3D curve C is considered to be located in the plane P. Warning The 3D curve C must be of one of the following types: More... | |
static Handle< Geom_Curve > | To3d (const Handle< Geom2d_Curve > &C, const gp_Pln &P) |
Builds a 3D curve equivalent to the 2D curve C described in the parametric space defined by the local coordinate system of plane P. The resulting 3D curve is of the same nature as that of the curve C. More... | |
The GeomAPI package provides an Application Programming Interface for the Geometry.
The API is a set of classes and methods aiming to provide :
The API provides classes to call the algorithmes of the Geometry
For example to evaluate the distance <D> between a point
and a curve , one can writes :
D = GeomAPI_ProjectPointOnCurve(P,C);
or
GeomAPI_ProjectPointOnCurve PonC(P,C); D = PonC.LowerDistance();
|
static |
This function builds (in the parametric space of the plane P) a 2D curve equivalent to the 3D curve C. The 3D curve C is considered to be located in the plane P. Warning The 3D curve C must be of one of the following types:
|
static |
Builds a 3D curve equivalent to the 2D curve C described in the parametric space defined by the local coordinate system of plane P. The resulting 3D curve is of the same nature as that of the curve C.