Implements construction algorithms for an arc of circle in 3D space. The result is a Geom_TrimmedCurve curve. A MakeArcOfCircle object provides a framework for:
More...
#include <GC_MakeArcOfCircle.hxx>
|
| | GC_MakeArcOfCircle (const gp_Circ &theCirc, const double theAlpha1, const double theAlpha2, const bool theSense) |
| | Creates an arc of circle from angular bounds.
|
| |
| | GC_MakeArcOfCircle (const gp_Circ &theCirc, const gp_Pnt &theP, const double theAlpha, const bool theSense) |
| | Creates an arc of circle from a point and an angular bound.
|
| |
| | GC_MakeArcOfCircle (const gp_Circ &theCirc, const gp_Pnt &theP1, const gp_Pnt &theP2, const bool theSense) |
| | Creates an arc of circle from two points on the circle.
|
| |
| | GC_MakeArcOfCircle (const gp_Pnt &theP1, const gp_Pnt &theP2, const gp_Pnt &theP3) |
| | Creates an arc of circle passing through three points.
|
| |
| | GC_MakeArcOfCircle (const gp_Pnt &theP1, const gp_Vec &theV, const gp_Pnt &theP2) |
| | Creates an arc of circle from two points and a tangent at the first point.
|
| |
| const occ::handle< Geom_TrimmedCurve > & | Value () const |
| | Returns the constructed arc of circle. Exceptions StdFail_NotDone if no arc of circle is constructed.
|
| |
| | operator const occ::handle< Geom_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:
|
| |
Implements construction algorithms for an arc of circle in 3D space. The result is a Geom_TrimmedCurve curve. A MakeArcOfCircle object provides a framework for:
- defining the construction of the arc of circle,
- implementing the construction algorithm, and
- consulting the results. In particular, the Value function returns the constructed arc of circle.
◆ GC_MakeArcOfCircle() [1/5]
| GC_MakeArcOfCircle::GC_MakeArcOfCircle |
( |
const gp_Circ & | theCirc, |
|
|
const double | theAlpha1, |
|
|
const double | theAlpha2, |
|
|
const bool | theSense ) |
Creates an arc of circle from angular bounds.
- Parameters
-
| [in] | theCirc | source circle |
| [in] | theAlpha1 | first angle (radians) |
| [in] | theAlpha2 | second angle (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfCircle() [2/5]
| GC_MakeArcOfCircle::GC_MakeArcOfCircle |
( |
const gp_Circ & | theCirc, |
|
|
const gp_Pnt & | theP, |
|
|
const double | theAlpha, |
|
|
const bool | theSense ) |
Creates an arc of circle from a point and an angular bound.
- Parameters
-
| [in] | theCirc | source circle |
| [in] | theP | point on circle |
| [in] | theAlpha | target angle (radians) |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfCircle() [3/5]
| GC_MakeArcOfCircle::GC_MakeArcOfCircle |
( |
const gp_Circ & | theCirc, |
|
|
const gp_Pnt & | theP1, |
|
|
const gp_Pnt & | theP2, |
|
|
const bool | theSense ) |
Creates an arc of circle from two points on the circle.
- Parameters
-
| [in] | theCirc | source circle |
| [in] | theP1 | first point on circle |
| [in] | theP2 | second point on circle |
| [in] | theSense | orientation of resulting arc |
◆ GC_MakeArcOfCircle() [4/5]
| GC_MakeArcOfCircle::GC_MakeArcOfCircle |
( |
const gp_Pnt & | theP1, |
|
|
const gp_Pnt & | theP2, |
|
|
const gp_Pnt & | theP3 ) |
Creates an arc of circle passing through three points.
- Parameters
-
| [in] | theP1 | first point |
| [in] | theP2 | second point |
| [in] | theP3 | third point |
◆ GC_MakeArcOfCircle() [5/5]
| GC_MakeArcOfCircle::GC_MakeArcOfCircle |
( |
const gp_Pnt & | theP1, |
|
|
const gp_Vec & | theV, |
|
|
const gp_Pnt & | theP2 ) |
Creates an arc of circle from two points and a tangent at the first point.
- Parameters
-
| [in] | theP1 | start point |
| [in] | theV | tangent vector at start point |
| [in] | theP2 | end point |
- Note
- The tangent direction is given by the input vector. The orientation of the arc is:
- the sense determined by the order of the three input points;
- the sense defined by the input vector; or
- for the other constructors:
- the sense of the source circle if the orientation flag is true, or
- the opposite sense if
theSense is false.
-
Angles are expressed in radians.
-
Construction fails with
gce_ConfusedPoints if theP1 and theP2 are coincident.
-
Construction fails with
gce_IntersectionError if the supporting lines used to define circle center do not intersect.
◆ operator const occ::handle< Geom_TrimmedCurve > &()
Conversion operator returning the constructed object.
- Returns
- resulting object
◆ Value()
Returns the constructed arc of circle. Exceptions StdFail_NotDone if no arc of circle is constructed.
- Returns
- resulting arc
The documentation for this class was generated from the following file: