Interface AngularInstantVelocityKinematic

    • Method Detail

      • getAngularSpeed

        @Pure
        default double getAngularSpeed()
        Returns the angular speed of this object in r/s.

        The sign of the angular speed indicates if the object is going forward (positive) or backward (negative).

        Returns:
        the angular speed of this object in r/s.
      • getAngularSpeed

        @Pure
        double getAngularSpeed​(AngularUnit unit)
        Returns the angular speed of this object.

        The sign of the angular speed indicates if the object is going forward (positive) or backward (negative).

        Parameters:
        unit - the unit in which the speed will be given.
        Returns:
        the angular speed of this object in the given unit.
      • getAngularVelocity3D

        @Pure
        default Quaternion getAngularVelocity3D()
        Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied by getAngularSpeed().

        This function replies the velocity in 3D if possible.

        Returns:
        the velocity of the object.
      • getAngularVelocity2D

        @Pure
        default double getAngularVelocity2D()
        Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied by getAngularSpeed().

        This function replies the velocity in 2D if possible.

        Returns:
        the velocity of the object.
      • getAngularVelocity1D5

        @Pure
        default double getAngularVelocity1D5()
        Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied by getAngularSpeed().

        This function replies the velocity in 1.5D if possible.

        Returns:
        the velocity of the object.
      • getAngularVelocity1D

        @Pure
        default double getAngularVelocity1D()
        Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied by getAngularSpeed().

        This function replies the velocity in 1D if possible.

        Returns:
        the velocity of the object.