Interface LinearInstantVelocityKinematic
-
- All Known Subinterfaces:
LinearAccelerationKinematic
,LinearInstantAccelerationKinematic
,LinearVelocityKinematic
public interface LinearInstantVelocityKinematic
This interface describes an object that is able to provide linear instant speed and velocity.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:49
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathphysics
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default double
getLinearSpeed()
Returns the linear speed of this object in m/s.double
getLinearSpeed(SpeedUnit unit)
Returns the Linear speed of this object.default double
getLinearVelocity1D()
Replies the instant velocity of the object.default Vector1D<?,?,?>
getLinearVelocity1D5()
Replies the instant velocity of the object.default Vector2D<?,?>
getLinearVelocity2D()
Replies the instant velocity of the object.default Vector3D<?,?>
getLinearVelocity3D()
Replies the instant velocity of the object.
-
-
-
Method Detail
-
getLinearSpeed
@Pure default double getLinearSpeed()
Returns the linear speed of this object in m/s.The sign of the linear speed indicates if the object is going forward (positive) or backward (negative).
- Returns:
- the linear speed of this object in m/s.
-
getLinearSpeed
@Pure double getLinearSpeed(SpeedUnit unit)
Returns the Linear speed of this object.The sign of the linear 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 linear speed of this object in the given unit.
-
getLinearVelocity3D
@Pure default Vector3D<?,?> getLinearVelocity3D()
Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied bygetLinearSpeed()
.This function replies the velocity in 3D if possible.
- Returns:
- the velocity of the object.
-
getLinearVelocity2D
@Pure default Vector2D<?,?> getLinearVelocity2D()
Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied bygetLinearSpeed()
.This function replies the velocity in 2D if possible.
- Returns:
- the velocity of the object.
-
getLinearVelocity1D5
@Pure default Vector1D<?,?,?> getLinearVelocity1D5()
Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied bygetLinearSpeed()
.This function replies the velocity in 1.5D if possible.
- Returns:
- the velocity of the object.
-
getLinearVelocity1D
@Pure default double getLinearVelocity1D()
Replies the instant velocity of the object. The velocity is the motion vector with a length equal to the speed replied bygetLinearSpeed()
.This function replies the velocity in 1D if possible.
- Returns:
- the velocity of the object.
-
-