This class implements construction algorithms for arcs of parabolas in the plane. The result is a Geom2d_TrimmedCurve. A GC_MakeArcOfParabola2d object provides a framework for:
More...
#include <GC_MakeArcOfParabola2d.hxx>
This class implements construction algorithms for arcs of parabolas in the plane. The result is a Geom2d_TrimmedCurve. A GC_MakeArcOfParabola2d object provides a framework for:
- defining the construction parameters;
- running the construction algorithm;
- querying the construction status and the resulting arc via
Value(). - Note
- Angular parameters are expressed in radians.
◆ GC_MakeArcOfParabola2d() [1/3]
| GC_MakeArcOfParabola2d::GC_MakeArcOfParabola2d |
( |
const gp_Parab2d & | theParabola, |
|
|
const double | theAlpha1, |
|
|
const double | theAlpha2, |
|
|
const bool | theSense = true ) |
Constructs an arc from angular bounds on a parabola.
- Parameters
-
| [in] | theParabola | source parabola |
| [in] | theAlpha1 | first angle (radians) |
| [in] | theAlpha2 | second angle (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfParabola2d() [2/3]
Constructs an arc from a point and angular bound on a parabola.
- Parameters
-
| [in] | theParabola | source parabola |
| [in] | thePoint | point on source parabola |
| [in] | theAlpha | angle value (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfParabola2d() [3/3]
Constructs an arc between two points on a parabola.
- Parameters
-
| [in] | theParabola | source parabola |
| [in] | theP1 | first point on source parabola |
| [in] | theP2 | second point on source parabola |
| [in] | theSense | orientation of resulting arc |
- Note
- Orientation is trigonometric when
theSense is true, otherwise opposite.
-
IsDone always returns true.
◆ operator const occ::handle< Geom2d_TrimmedCurve > &()
Conversion operator returning the constructed object.
- Returns
- resulting trimmed curve
◆ Value()
Returns the constructed arc of parabola.
- Returns
- resulting trimmed curve
The documentation for this class was generated from the following file: