This class implements construction algorithms for arcs of circles in the plane. The result is a Geom2d_TrimmedCurve. A GC_MakeArcOfCircle2d object provides a framework for:
More...
#include <GC_MakeArcOfCircle2d.hxx>
|
| | GC_MakeArcOfCircle2d (const gp_Circ2d &theCircle, const double theAlpha1, const double theAlpha2, const bool theSense=true) |
| | Constructs an arc from angular bounds on a circle.
|
| |
| | GC_MakeArcOfCircle2d (const gp_Circ2d &theCircle, const gp_Pnt2d &thePoint, const double theAlpha, const bool theSense=true) |
| | Constructs an arc from a point and angular bound on a circle.
|
| |
| | GC_MakeArcOfCircle2d (const gp_Circ2d &theCircle, const gp_Pnt2d &theP1, const gp_Pnt2d &theP2, const bool theSense=true) |
| | Constructs an arc between two points on a circle.
|
| |
| | GC_MakeArcOfCircle2d (const gp_Pnt2d &theP1, const gp_Pnt2d &theP2, const gp_Pnt2d &theP3) |
| | Constructs an arc passing through three points.
|
| |
| | GC_MakeArcOfCircle2d (const gp_Pnt2d &theP1, const gp_Vec2d &theV, const gp_Pnt2d &theP2) |
| | Constructs an arc from two points and tangent vector at start point.
|
| |
| const occ::handle< Geom2d_TrimmedCurve > & | Value () const |
| | Returns the constructed arc of circle. Exceptions StdFail_NotDone if no arc of circle is constructed.
|
| |
| | operator const occ::handle< Geom2d_TrimmedCurve > & () const |
| | Conversion operator returning the constructed object.
|
| |
| bool | IsDone () const |
| | Returns true if the construction is successful.
|
| |
| bool | IsError () const |
| | Returns true if the construction has failed.
|
| |
| gce_ErrorType | Status () const |
| | Returns the status of the construction:
|
| |
This class implements construction algorithms for arcs of circles in the plane. The result is a Geom2d_TrimmedCurve. A GC_MakeArcOfCircle2d 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_MakeArcOfCircle2d() [1/5]
| GC_MakeArcOfCircle2d::GC_MakeArcOfCircle2d |
( |
const gp_Circ2d & | theCircle, |
|
|
const double | theAlpha1, |
|
|
const double | theAlpha2, |
|
|
const bool | theSense = true ) |
Constructs an arc from angular bounds on a circle.
- Parameters
-
| [in] | theCircle | source circle |
| [in] | theAlpha1 | first angle (radians) |
| [in] | theAlpha2 | second angle (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfCircle2d() [2/5]
Constructs an arc from a point and angular bound on a circle.
- Parameters
-
| [in] | theCircle | source circle |
| [in] | thePoint | point on source circle |
| [in] | theAlpha | angle value (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfCircle2d() [3/5]
Constructs an arc between two points on a circle.
- Parameters
-
| [in] | theCircle | source circle |
| [in] | theP1 | first point on source circle |
| [in] | theP2 | second point on source circle |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfCircle2d() [4/5]
Constructs an arc passing through three points.
- Parameters
-
| [in] | theP1 | first point |
| [in] | theP2 | intermediate point |
| [in] | theP3 | last point |
◆ GC_MakeArcOfCircle2d() [5/5]
Constructs an arc from two points and tangent vector at start point.
- Parameters
-
| [in] | theP1 | start point |
| [in] | theV | tangent vector at start point |
| [in] | theP2 | end point |
◆ operator const occ::handle< Geom2d_TrimmedCurve > &()
Conversion operator returning the constructed object.
- Returns
- resulting trimmed curve
◆ Value()
Returns the constructed arc of circle. Exceptions StdFail_NotDone if no arc of circle is constructed.
- Returns
- resulting trimmed curve
The documentation for this class was generated from the following file: