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

ModelingData
TKGeomBase
gce


gce_MakeCirc2d Class Reference

This class implements the following algorithms used
to create Circ2d from gp.

* Create a Circ2d concentric with another and passing
though a point.
* Create a Circ2d concentric with another at the distance
Dist.
* Create a Circ2d passing through 3 points.
* Create a Circ2d with its center and radius.
* Create a Circ2d with its center and a point given
the radius.
* Create a Circ2d with its axis and its radius.
.

#include <gce_MakeCirc2d.hxx>

Inheritance diagram for gce_MakeCirc2d:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT gce_MakeCirc2d (const gp_Ax2d &XAxis, const Standard_Real Radius, const Standard_Boolean Sense=Standard_True)
 The location point of XAxis is the center of the circle.
Warnings :
It is not forbidden to create a circle with Radius = 0.0
If Sense is true the local coordinate system of the solution
is direct and non direct in the other case.
The status is "NegativeRadius" if Radius < 0.0.
.
Standard_EXPORT gce_MakeCirc2d (const gp_Ax22d &Axis, const Standard_Real Radius)
 The location point of Axis is the center of the circle.
Warnings :
It is not forbidden to create a circle with Radius = 0.0
.
Standard_EXPORT gce_MakeCirc2d (const gp_Circ2d &Circ, const Standard_Real Dist)
 Makes a Circ2d from gp <thecirc> concentric with another
circ2d <circ> with a distance <dist>.
If Dist is greater than zero the result encloses
the circle <circ>, else the result is enclosed by the
circle <circ>.
The local coordinate system of the solution is the
same as Circ.
.
Standard_EXPORT gce_MakeCirc2d (const gp_Circ2d &Circ, const gp_Pnt2d &Point)
 Makes a Circ2d from gp <thecirc> concentric with another
circ2d <circ> and passing through a Pnt2d <point>.
The local coordinate system of the solution is the
same as Circ.
.
Standard_EXPORT gce_MakeCirc2d (const gp_Pnt2d &P1, const gp_Pnt2d &P2, const gp_Pnt2d &P3)
 Makes a Circ2d from gp <thecirc> passing through 3
Pnt2d <p1>,<p2>,<p3>.
The local coordinate system of the solution is given
by the three points P1, P2, P3.
.
Standard_EXPORT gce_MakeCirc2d (const gp_Pnt2d &Center, const Standard_Real Radius, const Standard_Boolean Sense=Standard_True)
 Makes a Circ2d from gp <thecirc> with its center
and its radius <radius>.
If Sense is true the local coordinate system of
the solution is direct and non direct in the other case.
.

Standard_EXPORT gce_MakeCirc2d (const gp_Pnt2d &Center, const gp_Pnt2d &Point, const Standard_Boolean Sense=Standard_True)
 Makes a Circ2d from gp <thecirc> with its center
and a point giving the radius.
If Sense is true the local coordinate system of
the solution is direct and non direct in the other case.
.

Standard_EXPORT const gp_Circ2d & Value () const
 Returns the constructed circle.
Exceptions StdFail_NotDone if no circle is constructed.
.
Standard_EXPORT const gp_Circ2d & Operator () const
Standard_EXPORT operator gp_Circ2d () const

Private Attributes

gp_Circ2d TheCirc2d

Constructor & Destructor Documentation

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Ax2d &  XAxis,
const Standard_Real  Radius,
const Standard_Boolean  Sense = Standard_True
 

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Ax22d &  Axis,
const Standard_Real  Radius
 

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Circ2d &  Circ,
const Standard_Real  Dist
 

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Circ2d &  Circ,
const gp_Pnt2d &  Point
 

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Pnt2d &  P1,
const gp_Pnt2d &  P2,
const gp_Pnt2d &  P3
 

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Pnt2d &  Center,
const Standard_Real  Radius,
const Standard_Boolean  Sense = Standard_True
 

Standard_EXPORT gce_MakeCirc2d::gce_MakeCirc2d const gp_Pnt2d &  Center,
const gp_Pnt2d &  Point,
const Standard_Boolean  Sense = Standard_True
 


Member Function Documentation

Standard_EXPORT const gp_Circ2d& gce_MakeCirc2d::Operator  )  const
 

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

Reimplemented from gce_Root.

Standard_EXPORT gce_MakeCirc2d::operator gp_Circ2d  )  const
 

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

Reimplemented from gce_Root.

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

Reimplemented from gce_Root.

Standard_EXPORT const gp_Circ2d& gce_MakeCirc2d::Value  )  const
 


Field Documentation

gp_Circ2d gce_MakeCirc2d::TheCirc2d [private]
 


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