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

Class ConicSection

  • All Implemented Interfaces:
    java.util.EventListener, javax.swing.event.ChangeListener, Decorateable, Parameterizable
    Direct Known Subclasses:
    Ellipse, Hyperbola, Parabola


    public abstract class ConicSection
    extends PlaneCurveParametric
    A common base class for Elippse, Parabola, and Hyperbola, to show foci and "directrix" during morphing and extra stuff during the creation animation. Note that Circle is not a subclass of ConicSection since it does not have these extra decorations.
    • Constructor Detail

      • ConicSection

        public ConicSection()
    • Method Detail

      • getCreateAnimation

        public Animation getCreateAnimation(View view)
        Returns a creation animation that adds foci, directrix, and othe stuff during the animation.
        Overrides:
        getCreateAnimation in class PlaneCurveParametric
        Parameters:
        view - The View where the animation will be installed. If this is null, then the return value is null.
        Returns:
        A creation animation for the given View of this Exhibit. The return value can be null to indicate that no creation animation is to be run.
      • getMorphingAnimation

        public BasicAnimator getMorphingAnimation(View view,
                                                  int looping)
        Returns a modified morphing animation that adds foci and directrix during the animation. The decoration is added to view, if it is non-null, and otherwise is added directly to this exhibit.
        Overrides:
        getMorphingAnimation in class Exhibit
        Parameters:
        view - The view that the animation will be shown in, if any. If the value is null, then the animation will not be associated with any particular view. In that case, the Morphing animation will animate the Exhibit in all Views in which it appears, since it operates by changing parameters of the exhibit. If the View is non-null, then only the specified View will receive changeEvents from the Exhibit while the morph is in progress.
        looping - This must be one of the values BasicAnimator.ONCE, BasicAnimator.LOOP, or BasicAnimator.OSCILLATE. The value is passed, without any error checking, to the animation's setLooping method.
        See Also:
        TimerAnimation.setLooping(int), Exhibit.setFramesForMorphing(int)

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.