Open CASCADE Technology
7.3.1.dev

This class implements the following algorithms used to create Hyperbola from gp. More...
#include <gce_MakeHypr.hxx>
Public Member Functions  
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. More...  
gce_MakeHypr (const gp_Pnt &S1, const gp_Pnt &S2, const gp_Pnt &Center)  
Constructs a hyperbola. More...  
const gp_Hypr &  Value () const 
Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed. More...  
const gp_Hypr &  Operator () const 
operator gp_Hypr () const  
Public Member Functions inherited from gce_Root  
Standard_Boolean  IsDone () const 
Returns true if the construction is successful. More...  
gce_ErrorType  Status () const 
Returns the status of the construction: More...  
Additional Inherited Members  
Protected Attributes inherited from gce_Root  
gce_ErrorType  TheError 
This class implements the following algorithms used to create Hyperbola from gp.
^YAxis  FirstConjugateBranch  Other  Main — C —>XAxis Branch  Branch   SecondConjugateBranch 
The local cartesian coordinate system of the ellipse is an axis placement (two axis).
The "XDirection" and the "YDirection" of the axis placement define the plane of the hyperbola.
The "Direction" of the axis placement defines the normal axis to the hyperbola's plane.
The "XAxis" of the hyperbola ("Location", "XDirection") is the major axis and the "YAxis" of the hyperbola ("Location", "YDirection") is the minor axis.
Warnings : The major radius (on the major axis) can be lower than the minor radius (on the minor axis).
gce_MakeHypr::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.
Constructs a hyperbola.
const gp_Hypr& gce_MakeHypr::Operator  (  )  const 
gce_MakeHypr::operator gp_Hypr  (  )  const 
const gp_Hypr& gce_MakeHypr::Value  (  )  const 
Returns the constructed hyperbola. Exceptions StdFail_NotDone if no hyperbola is constructed.