Open CASCADE Technology  7.5.0
Public Member Functions

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: More...

#include <GCE2d_MakeArcOfEllipse.hxx>

Inheritance diagram for GCE2d_MakeArcOfEllipse:
Inheritance graph
[legend]

Public Member Functions

 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. More...
 
 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. More...
 
 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: More...
 
const Handle< Geom2d_TrimmedCurve > & Value () const
 Returns the constructed arc of ellipse. More...
 
 operator const Handle< Geom2d_TrimmedCurve > & () const
 
- Public Member Functions inherited from GCE2d_Root
Standard_Boolean IsDone () const
 Returns true if the construction is successful. More...
 
gce_ErrorType Status () const
 Returns the status of the construction. More...
 

Additional Inherited Members

- Protected Attributes inherited from GCE2d_Root
gce_ErrorType TheError
 

Detailed Description

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:

Constructor & Destructor Documentation

◆ GCE2d_MakeArcOfEllipse() [1/3]

GCE2d_MakeArcOfEllipse::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.

◆ GCE2d_MakeArcOfEllipse() [2/3]

GCE2d_MakeArcOfEllipse::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.

◆ GCE2d_MakeArcOfEllipse() [3/3]

GCE2d_MakeArcOfEllipse::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.

Member Function Documentation

◆ operator const Handle< Geom2d_TrimmedCurve > &()

GCE2d_MakeArcOfEllipse::operator const Handle< Geom2d_TrimmedCurve > & ( ) const
inline

◆ Value()

const Handle< Geom2d_TrimmedCurve >& GCE2d_MakeArcOfEllipse::Value ( ) const

Returns the constructed arc of ellipse.


The documentation for this class was generated from the following file: