Class MotionProfile


  • public class MotionProfile
    extends Object
    A sequence of Points that can be used by motion profiling systems.
    • Constructor Detail

      • MotionProfile

        public MotionProfile​(@NotNull
                             @NotNull MotionProfile.Point[] points)
        Create a new MotionProfile from an array of points.
        Parameters:
        points - The points to use.
    • Method Detail

      • size

        @Contract(pure=true)
        public int size()
        Get the number of points in the profile.
        Returns:
        The number of points in the profile; specifically, points.length.