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

ModelingData
TKGeomBase
GC


GC_MakeCircle Class Reference

This class implements the following algorithms used
to create Cirlec from Geom.

* Create a Circle parallel to another and passing
though a point.
* Create a Circle parallel to another at the distance
Dist.
* Create a Circle passing through 3 points.
* Create a Circle with its center and the normal of its
plane and its radius.
* Create a Circle with its axis and radius.
The circle's parameter is the angle (Radian).
The parametrization range is [0,2*PI].
The circle is a closed and periodic curve.
The center of the circle is the Location point of its axis
placement. The XDirection of the axis placement defines the
origin of the parametrization.
.

#include <GC_MakeCircle.hxx>

Inheritance diagram for GC_MakeCircle:

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 GC_MakeCircle (const gp_Circ &C)
 creates a circle from a non persistent circle C by its conversion.

Standard_EXPORT GC_MakeCircle (const gp_Ax2 &A2, const Standard_Real Radius)
 A2 is the local coordinates system of the circle.
It is not forbidden to create a circle with Radius = 0.0
Status is "NegativeRadius" if Radius < 0.
.
Standard_EXPORT GC_MakeCircle (const gp_Circ &Circ, const Standard_Real Dist)
 Make a Circle from Geom <thecirc> parallel to another
Circ <circ> with a distance <dist>.
If Dist is greater than zero the result is enclosing
the circle <circ>, else the result is enclosed by the
circle <circ>.
.
Standard_EXPORT GC_MakeCircle (const gp_Circ &Circ, const gp_Pnt &Point)
 Make a Circle from Geom <thecirc> parallel to another
Circ <circ> and passing through a Pnt <point>.
.
Standard_EXPORT GC_MakeCircle (const gp_Pnt &P1, const gp_Pnt &P2, const gp_Pnt &P3)
 Make a Circ from gp <thecirc> passing through 3
Pnt2d <p1>,<p2>,<p3>.
.
Standard_EXPORT GC_MakeCircle (const gp_Pnt &Center, const gp_Dir &Norm, const Standard_Real Radius)
 Make a Circle from Geom <thecirc> with its center
and the normal of its plane <norm> and
its radius <radius>.
.

Standard_EXPORT GC_MakeCircle (const gp_Pnt &Center, const gp_Pnt &PtAxis, const Standard_Real Radius)
 Make a Circle from Geom <thecirc> with its center
and the normal of its plane defined by the
two points
and <ptaxis> and its radius <radius>.
.

Standard_EXPORT GC_MakeCircle (const gp_Ax1 &Axis, const Standard_Real Radius)
 Make a Circle from Geom <thecirc> with its center
and its radius <radius>.
.

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

Private Attributes

Handle_Geom_Circle TheCircle

Constructor & Destructor Documentation

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Circ &  C  ) 
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Ax2 &  A2,
const Standard_Real  Radius
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Circ &  Circ,
const Standard_Real  Dist
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Circ &  Circ,
const gp_Pnt &  Point
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Pnt &  P1,
const gp_Pnt &  P2,
const gp_Pnt &  P3
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Pnt &  Center,
const gp_Dir &  Norm,
const Standard_Real  Radius
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Pnt &  Center,
const gp_Pnt &  PtAxis,
const Standard_Real  Radius
 

Standard_EXPORT GC_MakeCircle::GC_MakeCircle const gp_Ax1 &  Axis,
const Standard_Real  Radius
 


Member Function Documentation

Standard_EXPORT const Handle_Geom_Circle& GC_MakeCircle::Operator  )  const
 

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

Reimplemented from GC_Root.

Standard_EXPORT GC_MakeCircle::operator Handle_Geom_Circle  )  const
 

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

Reimplemented from GC_Root.

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

Reimplemented from GC_Root.

Standard_EXPORT const Handle_Geom_Circle& GC_MakeCircle::Value  )  const
 


Field Documentation

Handle_Geom_Circle GC_MakeCircle::TheCircle [private]
 


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