Open CASCADE Technology 6.6.0
|
This algorithm converts a hyperbola into a rational B-spline curve.
The hyperbola is an Hypr2d from package gp with the
parametrization :
P (U) =
Loc + (MajorRadius * Cosh(U) * Xdir + MinorRadius * Sinh(U) * Ydir)
where Loc is the location point of the hyperbola, Xdir and Ydir are
the normalized directions of the local cartesian coordinate system
of the hyperbola.
KeyWords :
Convert, Hyperbola, BSplineCurve, 2D .
#include <Convert_HyperbolaToBSplineCurve.hxx>
Public Member Functions | |
Convert_HyperbolaToBSplineCurve (const gp_Hypr2d &H, const Standard_Real U1, const Standard_Real U2) | |
The hyperbola H is limited between the parametric values U1, U2 and the equivalent B-spline curve has the same orientation as the hyperbola. |
Convert_HyperbolaToBSplineCurve::Convert_HyperbolaToBSplineCurve | ( | const gp_Hypr2d & | H, |
const Standard_Real | U1, | ||
const Standard_Real | U2 | ||
) |