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

ModelingData
TKGeomBase
GCE2d


GCE2d_MakeArcOfEllipse Class Reference

Implements construction algorithms for an arc of
ellipse in the plane. The result is a Geom2d_TrimmedCurve curve.
A MakeArcOfEllipse object provides a framework for:
- defining the construction of the arc of ellipse,
- implementing the construction algorithm, and
- consulting the results. In particular, the Value
function returns the constructed arc of ellipse.
.

#include <GCE2d_MakeArcOfEllipse.hxx>

Inheritance diagram for GCE2d_MakeArcOfEllipse:

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 GCE2d_MakeArcOfEllipse (const gp_Elips2d &Elips, const Standard_Real Alpha1, const Standard_Real Alpha2, const Standard_Boolean Sense=Standard_True)
 Make an arc of Ellipse (TrimmedCurve from Geom2d) from
a Ellipse between two parameters Alpha1 and Alpha2.
.
Standard_EXPORT GCE2d_MakeArcOfEllipse (const gp_Elips2d &Elips, const gp_Pnt2d &P, const Standard_Real Alpha, const Standard_Boolean Sense=Standard_True)
 Make an arc of Ellipse (TrimmedCurve from Geom2d) from
a Ellipse between point

and the parameter
Alpha.
.

Standard_EXPORT GCE2d_MakeArcOfEllipse (const gp_Elips2d &Elips, const gp_Pnt2d &P1, const gp_Pnt2d &P2, const Standard_Boolean Sense=Standard_True)
 Make an arc of Ellipse (TrimmedCurve from Geom2d) from
a Ellipse between two points P1 and P2.
Please, note: The orientation of the arc is:
- the trigonometric sense if Sense is not defined or
is true (default value), or
- the opposite sense if Sense is false.
- Alpha1, Alpha2 and Alpha are angle values, given in radians.
- IsDone always returns true.
.
Standard_EXPORT const Handle_Geom2d_TrimmedCurve & Value () const
 Returns the constructed arc of ellipse.
.
Standard_EXPORT const Handle_Geom2d_TrimmedCurve & Operator () const
Standard_EXPORT operator Handle_Geom2d_TrimmedCurve () const

Private Attributes

Handle_Geom2d_TrimmedCurve TheArc

Constructor & Destructor Documentation

Standard_EXPORT GCE2d_MakeArcOfEllipse::GCE2d_MakeArcOfEllipse const gp_Elips2d &  Elips,
const Standard_Real  Alpha1,
const Standard_Real  Alpha2,
const Standard_Boolean  Sense = Standard_True
 

Standard_EXPORT GCE2d_MakeArcOfEllipse::GCE2d_MakeArcOfEllipse const gp_Elips2d &  Elips,
const gp_Pnt2d &  P,
const Standard_Real  Alpha,
const Standard_Boolean  Sense = Standard_True
 

Standard_EXPORT GCE2d_MakeArcOfEllipse::GCE2d_MakeArcOfEllipse const gp_Elips2d &  Elips,
const gp_Pnt2d &  P1,
const gp_Pnt2d &  P2,
const Standard_Boolean  Sense = Standard_True
 


Member Function Documentation

Standard_EXPORT const Handle_Geom2d_TrimmedCurve& GCE2d_MakeArcOfEllipse::Operator  )  const
 

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

Reimplemented from GCE2d_Root.

Standard_EXPORT GCE2d_MakeArcOfEllipse::operator Handle_Geom2d_TrimmedCurve  )  const
 

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

Reimplemented from GCE2d_Root.

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

Reimplemented from GCE2d_Root.

Standard_EXPORT const Handle_Geom2d_TrimmedCurve& GCE2d_MakeArcOfEllipse::Value  )  const
 


Field Documentation

Handle_Geom2d_TrimmedCurve GCE2d_MakeArcOfEllipse::TheArc [private]
 


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