Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
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 :

More...

#include <GeomAPI.hxx>

Static Public Member Functions

static DEFINE_STANDARD_ALLOC
Handle_Geom2d_Curve 
To2d (const Handle< Geom_Curve > &C, const gp_Pln &P)
 To intersect a curve and a surface.
//! 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 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.


Detailed Description

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



Member Function Documentation

static DEFINE_STANDARD_ALLOC Handle_Geom2d_Curve GeomAPI::To2d ( const Handle< Geom_Curve > &  C,
const gp_Pln P 
) [static]
  • 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 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: