Class InterpolatorVector2D

    • Constructor Summary

      Constructors 
      Constructor Description
      InterpolatorVector2D​(long cPtr, boolean cMemoryOwn)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Vector2D ddx​(double t)
      Acceleration at time t
      void delete()  
      double duration()
      Returns the duration of the interpolator

      The duration is defined as the time it takes to move from one end
      of the interpolator to the other.
      Vector2D dx​(double t)
      Velocity at time t
      static long getCPtr​(InterpolatorVector2D obj)  
      Vector2D x​(double t)
      Position at time t
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InterpolatorVector2D

        public InterpolatorVector2D​(long cPtr,
                                    boolean cMemoryOwn)
    • Method Detail

      • delete

        public void delete()
      • x

        public Vector2D x​(double t)
        Position at time t
        Parameters:
        t - [in] time between 0 and length
        Returns:
        Position
      • dx

        public Vector2D dx​(double t)
        Velocity at time t
        Parameters:
        t - [in] time between 0 and length
        Returns:
        Velocity
      • ddx

        public Vector2D ddx​(double t)
        Acceleration at time t
        Parameters:
        t - [in] time between 0 and length
        Returns:
        Acceleration
      • duration

        public double duration()
        Returns the duration of the interpolator

        The duration is defined as the time it takes to move from one end
        of the interpolator to the other.
        Returns:
        duration