Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
GC_MakeArcOfParabola2d Class Reference

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>

Inheritance diagram for GC_MakeArcOfParabola2d:

Public Member Functions

 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.
 GC_MakeArcOfParabola2d (const gp_Parab2d &theParabola, const gp_Pnt2d &thePoint, const double theAlpha, const bool theSense=true)
 Constructs an arc from a point and angular bound on a parabola.
 GC_MakeArcOfParabola2d (const gp_Parab2d &theParabola, const gp_Pnt2d &theP1, const gp_Pnt2d &theP2, const bool theSense=true)
 Constructs an arc between two points on a parabola.
const occ::handle< Geom2d_TrimmedCurve > & Value () const
 Returns the constructed arc of parabola.
 operator const occ::handle< Geom2d_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

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.

Constructor & Destructor Documentation

◆ 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]theParabolasource parabola
[in]theAlpha1first angle (radians)
[in]theAlpha2second angle (radians)
[in]theSenseorientation of resulting arc

◆ GC_MakeArcOfParabola2d() [2/3]

GC_MakeArcOfParabola2d::GC_MakeArcOfParabola2d ( const gp_Parab2d & theParabola,
const gp_Pnt2d & thePoint,
const double theAlpha,
const bool theSense = true )

Constructs an arc from a point and angular bound on a parabola.

Parameters
[in]theParabolasource parabola
[in]thePointpoint on source parabola
[in]theAlphaangle value (radians)
[in]theSenseorientation of resulting arc

◆ GC_MakeArcOfParabola2d() [3/3]

GC_MakeArcOfParabola2d::GC_MakeArcOfParabola2d ( const gp_Parab2d & theParabola,
const gp_Pnt2d & theP1,
const gp_Pnt2d & theP2,
const bool theSense = true )

Constructs an arc between two points on a parabola.

Parameters
[in]theParabolasource parabola
[in]theP1first point on source parabola
[in]theP2second point on source parabola
[in]theSenseorientation of resulting arc
Note
Orientation is trigonometric when theSense is true, otherwise opposite.
IsDone always returns true.

Member Function Documentation

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

GC_MakeArcOfParabola2d::operator const occ::handle< Geom2d_TrimmedCurve > & ( ) const
inline

Conversion operator returning the constructed object.

Returns
resulting trimmed curve

◆ Value()

const occ::handle< Geom2d_TrimmedCurve > & GC_MakeArcOfParabola2d::Value ( ) const

Returns the constructed arc of parabola.

Returns
resulting trimmed curve

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