Open CASCADE Technology 7.9.0
GCE2d_MakeArcOfHyperbola Class Reference

Implements construction algorithms for an arc of hyperbola in the plane. The result is a Geom2d_TrimmedCurve curve. A MakeArcOfHyperbola object provides a framework for: More...

#include <GCE2d_MakeArcOfHyperbola.hxx>

Inheritance diagram for GCE2d_MakeArcOfHyperbola:

Public Member Functions

 GCE2d_MakeArcOfHyperbola (const gp_Hypr2d &Hypr, const Standard_Real Alpha1, const Standard_Real Alpha2, const Standard_Boolean Sense=Standard_True)
 Makes an arc of Hyperbola (TrimmedCurve from Geom2d) from a Hyperbola between two parameters Alpha1 and Alpha2.
 
 GCE2d_MakeArcOfHyperbola (const gp_Hypr2d &Hypr, const gp_Pnt2d &P, const Standard_Real Alpha, const Standard_Boolean Sense=Standard_True)
 Makes an arc of Hyperbola (TrimmedCurve from Geom2d) from a Hyperbola between point.
 
 GCE2d_MakeArcOfHyperbola (const gp_Hypr2d &Hypr, const gp_Pnt2d &P1, const gp_Pnt2d &P2, const Standard_Boolean Sense=Standard_True)
 Makes an arc of Hyperbola (TrimmedCurve from Geom2d) from a Hyperbola between two points P1 and P2. Note: the orientation of the arc of hyperbola is:
 
const Handle< Geom2d_TrimmedCurve > & Value () const
 Returns the constructed arc of hyperbola.
 
 operator const Handle< Geom2d_TrimmedCurve > & () const
 
- Public Member Functions inherited from GCE2d_Root
Standard_Boolean IsDone () const
 Returns true if the construction is successful.
 
gce_ErrorType Status () const
 Returns the status of the construction.
 

Additional Inherited Members

- Protected Attributes inherited from GCE2d_Root
gce_ErrorType TheError
 

Detailed Description

Implements construction algorithms for an arc of hyperbola in the plane. The result is a Geom2d_TrimmedCurve curve. A MakeArcOfHyperbola object provides a framework for:

  • defining the construction of the arc of hyperbola,
  • implementing the construction algorithm, and
  • consulting the results. In particular, the Value function returns the constructed arc of hyperbola.

Constructor & Destructor Documentation

◆ GCE2d_MakeArcOfHyperbola() [1/3]

GCE2d_MakeArcOfHyperbola::GCE2d_MakeArcOfHyperbola ( const gp_Hypr2d & Hypr,
const Standard_Real Alpha1,
const Standard_Real Alpha2,
const Standard_Boolean Sense = Standard_True )

Makes an arc of Hyperbola (TrimmedCurve from Geom2d) from a Hyperbola between two parameters Alpha1 and Alpha2.

◆ GCE2d_MakeArcOfHyperbola() [2/3]

GCE2d_MakeArcOfHyperbola::GCE2d_MakeArcOfHyperbola ( const gp_Hypr2d & Hypr,
const gp_Pnt2d & P,
const Standard_Real Alpha,
const Standard_Boolean Sense = Standard_True )

Makes an arc of Hyperbola (TrimmedCurve from Geom2d) from a Hyperbola between point.

and the parameter Alpha.

◆ GCE2d_MakeArcOfHyperbola() [3/3]

GCE2d_MakeArcOfHyperbola::GCE2d_MakeArcOfHyperbola ( const gp_Hypr2d & Hypr,
const gp_Pnt2d & P1,
const gp_Pnt2d & P2,
const Standard_Boolean Sense = Standard_True )

Makes an arc of Hyperbola (TrimmedCurve from Geom2d) from a Hyperbola between two points P1 and P2. Note: the orientation of the arc of hyperbola is:

  • the trigonometric sense if Sense is not defined or is true (default value), or
  • the opposite sense if Sense is false.
  • IsDone always returns true.

Member Function Documentation

◆ operator const Handle< Geom2d_TrimmedCurve > &()

GCE2d_MakeArcOfHyperbola::operator const Handle< Geom2d_TrimmedCurve > & ( ) const
inline

◆ Value()

const Handle< Geom2d_TrimmedCurve > & GCE2d_MakeArcOfHyperbola::Value ( ) const

Returns the constructed arc of hyperbola.


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