Class QuadraticCurve


  • public class QuadraticCurve
    extends java.lang.Object
    A quadratic curve.

    A quadratic curve is given explicitly by the expression \mathbf{p} = \mathbf{c} + r(t) \mathbf{u} + s(t) \mathbf{v} where \mathbf{c},\mathbf{u},\mathbf{v},\mathbf{p} \in \mathbb{R}^3 and \mathbf{u}^T \mathbf{v} = 0 .

    The following four types of curves are possible:
    - Ellipse: (r,s)=(\sin t,\cos t)
    - Hyperbola: (r,s)=(\sinh t,\cosh t)
    - Line: (r,s)=(t,0)
    - Parabola: (r,s)=(t,t^2)