Open CASCADE Technology  7.2.0
Public Member Functions

GC_MakeArcOfEllipse Class Reference

Implements construction algorithms for an arc of ellipse in 3D space. The result is a Geom_TrimmedCurve curve. A MakeArcOfEllipse object provides a framework for: More...

#include <GC_MakeArcOfEllipse.hxx>

Inheritance diagram for GC_MakeArcOfEllipse:
Inheritance graph
[legend]

Public Member Functions

 GC_MakeArcOfEllipse (const gp_Elips &Elips, const Standard_Real Alpha1, const Standard_Real Alpha2, const Standard_Boolean Sense)
 Constructs an arc of Ellipse (TrimmedCurve from Geom) from a Ellipse between two parameters Alpha1 and Alpha2. More...
 
 GC_MakeArcOfEllipse (const gp_Elips &Elips, const gp_Pnt &P, const Standard_Real Alpha, const Standard_Boolean Sense)
 Constructs an arc of Ellipse (TrimmedCurve from Geom) from a Ellipse between point. More...
 
 GC_MakeArcOfEllipse (const gp_Elips &Elips, const gp_Pnt &P1, const gp_Pnt &P2, const Standard_Boolean Sense)
 Constructs an arc of Ellipse (TrimmedCurve from Geom) from a Ellipse between two points P1 and P2. The orientation of the arc of ellipse is: More...
 
const Handle< Geom_TrimmedCurve > & Value () const
 Returns the constructed arc of ellipse. More...
 
 operator const Handle< Geom_TrimmedCurve > & () const
 
- Public Member Functions inherited from GC_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 GC_Root
gce_ErrorType TheError
 

Detailed Description

Implements construction algorithms for an arc of ellipse in 3D space. The result is a Geom_TrimmedCurve curve. A MakeArcOfEllipse object provides a framework for:

Constructor & Destructor Documentation

◆ GC_MakeArcOfEllipse() [1/3]

GC_MakeArcOfEllipse::GC_MakeArcOfEllipse ( const gp_Elips Elips,
const Standard_Real  Alpha1,
const Standard_Real  Alpha2,
const Standard_Boolean  Sense 
)

Constructs an arc of Ellipse (TrimmedCurve from Geom) from a Ellipse between two parameters Alpha1 and Alpha2.

◆ GC_MakeArcOfEllipse() [2/3]

GC_MakeArcOfEllipse::GC_MakeArcOfEllipse ( const gp_Elips Elips,
const gp_Pnt P,
const Standard_Real  Alpha,
const Standard_Boolean  Sense 
)

Constructs an arc of Ellipse (TrimmedCurve from Geom) from a Ellipse between point.

and the angle Alpha given in radians.

◆ GC_MakeArcOfEllipse() [3/3]

GC_MakeArcOfEllipse::GC_MakeArcOfEllipse ( const gp_Elips Elips,
const gp_Pnt P1,
const gp_Pnt P2,
const Standard_Boolean  Sense 
)

Constructs an arc of Ellipse (TrimmedCurve from Geom) from a Ellipse between two points P1 and P2. The orientation of the arc of ellipse is:

  • the sense of Elips if Sense is true, or
  • the opposite sense if Sense is false. Notes:
  • Alpha1, Alpha2 and Alpha are angle values, given in radians.
  • IsDone always returns true.

Member Function Documentation

◆ operator const Handle< Geom_TrimmedCurve > &()

GC_MakeArcOfEllipse::operator const Handle< Geom_TrimmedCurve > & ( ) const
inline

◆ Value()

const Handle< Geom_TrimmedCurve >& GC_MakeArcOfEllipse::Value ( ) const

Returns the constructed arc of ellipse.


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