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

ModelingAlgorithms
TKGeomAlgo
GeomAPI


GeomAPI Class Reference

The GeomAPI package provides an Application
Programming Interface for the Geometry.

The API is a set of classes and methods aiming to
provide :

* High level and simple calls for the most common
operations.

* Keeping an access on the low-level
implementation of high-level calls.


The API provides classes to call the algorithmes
of the Geometry

* The constructors of the classes provides the
different constructions methods.

* The class keeps as fields the different tools
used by the algorithmes

* The class provides a casting method to get
automatically the result with a function-like
call.

For example to evaluate the distance <d> between a
point

and a curve <c>, one can writes :

D = GeomAPI_ProjectPointOnCurve(P,C);

or

GeomAPI_ProjectPointOnCurve PonC(P,C);
D = PonC.LowerDistance();

.

#include <GeomAPI.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 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:
- a line
- a circle
- an ellipse
- a hyperbola
- a parabola
- a Bezier curve
- a BSpline curve
Exceptions Standard_NoSuchObject if C is not a defined type curve.
.
static Standard_EXPORT 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.
.


Member Function Documentation

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

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

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

static Standard_EXPORT Handle_Geom2d_Curve GeomAPI::To2d const Handle(Geom_Curve)&  C,
const gp_Pln &  P
[static]
 

static Standard_EXPORT Handle_Geom_Curve GeomAPI::To3d const Handle(Geom2d_Curve)&  C,
const gp_Pln &  P
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:41:49 2008 for OpenCASCADE by  doxygen 1.4.1