Implements construction algorithms for ellipse arcs in 3D space. The result is a Geom_TrimmedCurve. A MakeArcOfEllipse object provides a framework for:
More...
#include <GC_MakeArcOfEllipse.hxx>
Implements construction algorithms for ellipse arcs in 3D space. The result is a Geom_TrimmedCurve. 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.
◆ GC_MakeArcOfEllipse() [1/3]
| GC_MakeArcOfEllipse::GC_MakeArcOfEllipse |
( |
const gp_Elips & | theElips, |
|
|
const double | theAlpha1, |
|
|
const double | theAlpha2, |
|
|
const bool | theSense ) |
Constructs an arc from angular bounds on an ellipse.
- Parameters
-
| [in] | theElips | source ellipse |
| [in] | theAlpha1 | first angle (radians) |
| [in] | theAlpha2 | second angle (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfEllipse() [2/3]
| GC_MakeArcOfEllipse::GC_MakeArcOfEllipse |
( |
const gp_Elips & | theElips, |
|
|
const gp_Pnt & | theP, |
|
|
const double | theAlpha, |
|
|
const bool | theSense ) |
Constructs an arc from a point and angle on an ellipse.
- Parameters
-
| [in] | theElips | source ellipse |
| [in] | theP | point on ellipse |
| [in] | theAlpha | target angle (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfEllipse() [3/3]
| GC_MakeArcOfEllipse::GC_MakeArcOfEllipse |
( |
const gp_Elips & | theElips, |
|
|
const gp_Pnt & | theP1, |
|
|
const gp_Pnt & | theP2, |
|
|
const bool | theSense ) |
Constructs an arc between two points on an ellipse.
- Parameters
-
| [in] | theElips | source ellipse |
| [in] | theP1 | first point |
| [in] | theP2 | second point |
| [in] | theSense | orientation of resulting arc |
- Note
- The orientation of the arc of ellipse is:
- the orientation of ellipse if
theSense is true, or
- the opposite orientation if
theSense is false.
-
Alpha1, Alpha2 and Alpha are angle values, given in radians.
-
IsDone always returns true.
◆ operator const occ::handle< Geom_TrimmedCurve > &()
Conversion operator returning the constructed object.
- Returns
- resulting object
◆ Value()
Returns the constructed arc of ellipse.
- Returns
- resulting arc
The documentation for this class was generated from the following file: