Class AngleAnimator

    • Field Detail

      • begin

        protected Angle begin
        The angle the animation begins at.
      • end

        protected Angle end
        The angle the animation ends at.
      • propertyAccessor

        protected final PropertyAccessor.AngleAccessor propertyAccessor
        The @link gov.nasa.worldwind.util.PropertyAccessor used to modify the data value being animated.
    • Method Detail

      • setBegin

        public void setBegin​(Angle begin)
        Set the begin value.
        Parameters:
        begin - the new begin value.
      • setEnd

        public void setEnd​(Angle end)
        Set the end value.
        Parameters:
        end - the new end value.
      • getBegin

        public Angle getBegin()
        Get the current begin value.
        Returns:
        the current begin value.
      • getEnd

        public Angle getEnd()
        Get the current end value.
        Returns:
        the current end value.
      • setImpl

        protected void setImpl​(double interpolant)
        Set the value being animated via the PropertyAccessor using the passed interpolant. This implementation just does a straight liner interpolation between the begin and end values.
        Overrides:
        setImpl in class BasicAnimator
        Parameters:
        interpolant - the interpolant used to generate the next value that will be set by the PropertyAccessor