OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    GC_MakeArcOfEllipse Class Reference

    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>

    Inheritance diagram for GC_MakeArcOfEllipse:

    Public Member Functions

     GC_MakeArcOfEllipse (const gp_Elips &theElips, const double theAlpha1, const double theAlpha2, const bool theSense)
     Constructs an arc from angular bounds on an ellipse.
     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.
     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.
    const occ::handle< Geom_TrimmedCurve > & Value () const
     Returns the constructed arc of ellipse.
     operator const occ::handle< Geom_TrimmedCurve > & () const
     Conversion operator returning the constructed object.
    Public Member Functions inherited from GC_Root
    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:

    Additional Inherited Members

    Protected Attributes inherited from GC_Root
    gce_ErrorType TheError

    Detailed Description

    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.

    Constructor & Destructor Documentation

    ◆ 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]theElipssource ellipse
    [in]theAlpha1first angle (radians)
    [in]theAlpha2second angle (radians)
    [in]theSenseorientation 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]theElipssource ellipse
    [in]thePpoint on ellipse
    [in]theAlphatarget angle (radians)
    [in]theSenseorientation 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]theElipssource ellipse
    [in]theP1first point
    [in]theP2second point
    [in]theSenseorientation 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.

    Member Function Documentation

    ◆ operator const occ::handle< Geom_TrimmedCurve > &()

    GC_MakeArcOfEllipse::operator const occ::handle< Geom_TrimmedCurve > & ( ) const
    inline

    Conversion operator returning the constructed object.

    Returns
    resulting object

    ◆ Value()

    const occ::handle< Geom_TrimmedCurve > & GC_MakeArcOfEllipse::Value ( ) const

    Returns the constructed arc of ellipse.

    Returns
    resulting arc

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