This class implements the following algorithms used to
create Hyperbola from gp.
* Create an Hyperbola from its center, and two points:
one on its axis of symmetry giving the major radius, the
other giving the value of the small radius.
The three points give the plane of the hyperbola.
* Create an hyperbola from its axisplacement and its
MajorRadius and its MinorRadius.
^YAxis
|
FirstConjugateBranch
|
Other | Main
--------------------- C ------------------------------>XAxis
Branch | Branch
|
|
SecondConjugateBranch
|
#include <gce_MakeHypr.hxx>

Public Member Functions | |
| void * | operator new (size_t, void *anAddress) |
| void * | operator new (size_t size) |
| void | operator delete (void *anAddress) |
| gce_MakeHypr (const gp_Ax2 &A2, const Standard_Real MajorRadius, const Standard_Real MinorRadius) | |
| A2 is the local coordinate system of the hyperbola. In the local coordinates system A2 the equation of the hyperbola is : X*X / MajorRadius*MajorRadius - Y*Y / MinorRadius*MinorRadius = 1.0 It is not forbidden to create an Hyperbola with MajorRadius = MinorRadius. For the hyperbola the MajorRadius can be lower than the MinorRadius. The status is "NegativeRadius" if MajorRadius < 0.0 and "InvertRadius" if MinorRadius > MajorRadius. | |
| gce_MakeHypr (const gp_Pnt &S1, const gp_Pnt &S2, const gp_Pnt &Center) | |
Constructs a hyperbola
Warning If an error occurs (that is, when IsDone returns false), the Status function returns:
| |
| const gp_Hypr & | Value () const |
| Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed. | |
| const gp_Hypr & | Operator () const |
| operator gp_Hypr () const | |
| gce_MakeHypr::gce_MakeHypr | ( | const gp_Ax2 & | A2, | |
| const Standard_Real | MajorRadius, | |||
| const Standard_Real | MinorRadius | |||
| ) |
| const gp_Hypr& gce_MakeHypr::Operator | ( | ) | const |
| void gce_MakeHypr::operator delete | ( | void * | anAddress | ) | [inline] |
Reimplemented from gce_Root.
| gce_MakeHypr::operator gp_Hypr | ( | ) | const |
| void* gce_MakeHypr::operator new | ( | size_t | size | ) | [inline] |
Reimplemented from gce_Root.
| void* gce_MakeHypr::operator new | ( | size_t | , | |
| void * | anAddress | |||
| ) | [inline] |
Reimplemented from gce_Root.
| const gp_Hypr& gce_MakeHypr::Value | ( | ) | const |
1.6.3