Documentation of 'vmm3d.planecurve.parametric.Parabola' Java class
Parabola
vmm3d.planecurve.parametric

Class Parabola

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable


    public class Parabola
    extends ConicSection
    A parabola with a focus on the x-axis. The parabola is defined by its focal length.
    • Constructor Detail

      • Parabola

        public Parabola()
        Construct a parabola with a focus initially at the point (0.75.0). The focal length is an animateable parameter with animation start and end values initially set to 0.5 and 1.5. The parabola is acutally computed using the parametric equations (t,t*t/(4*f)), where f is the focal length and t ranges from -8 to 8.
    • Method Detail

      • xDerivativeValue

        public double xDerivativeValue(double t)
        Description copied from class: PlaneCurveParametric
        Computes x'(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.
        Overrides:
        xDerivativeValue in class PlaneCurveParametric
      • yDerivativeValue

        public double yDerivativeValue(double t)
        Description copied from class: PlaneCurveParametric
        Computes y'(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.
        Overrides:
        yDerivativeValue in class PlaneCurveParametric
      • x2ndDerivativeValue

        public double x2ndDerivativeValue(double t)
        Description copied from class: PlaneCurveParametric
        Computes x''(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.
        Overrides:
        x2ndDerivativeValue in class PlaneCurveParametric
      • y2ndDerivativeValue

        public double y2ndDerivativeValue(double t)
        Description copied from class: PlaneCurveParametric
        Computes y''(t) for a given value of t. The default version defined in this class computes an approximate value numerically, using values of the function itself at points near t.
        Overrides:
        y2ndDerivativeValue in class PlaneCurveParametric
      • getActionsForView

        public ActionList getActionsForView(View view)
        Returns a list of actions that are applicable to the exhibit. To the actions set up by the superclass, this adds a "Drag Mouse to Show Normals" action that lets the user drag the mouse and draws all normal vectors of the parabola that pass through the mouse location.
        Overrides:
        getActionsForView in class PlaneCurveParametric
        Parameters:
        view - The view for which the actions should apply. If this is null, then no new actions are added to those inherited from the superclass.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.