Interface LinearInstantAccelerationKinematic
-
- All Superinterfaces:
LinearInstantVelocityKinematic
- All Known Subinterfaces:
LinearAccelerationKinematic
public interface LinearInstantAccelerationKinematic extends LinearInstantVelocityKinematic
This interface describes an object that is able to provide linear instant speed, velocity, and acceleration.- 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
getLinearAcceleration()
Returns the linear acceleration of this object in m/s^2.double
getLinearAcceleration(SpeedUnit unit)
Returns the linear acceleration of this object in the acceleration corresponding to the given speed unit e.g if the speed unit is m/s the acceleration will be given in m/s^2-
Methods inherited from interface org.arakhne.afc.math.physics.kinematic.linear.LinearInstantVelocityKinematic
getLinearSpeed, getLinearSpeed, getLinearVelocity1D, getLinearVelocity1D5, getLinearVelocity2D, getLinearVelocity3D
-
-
-
-
Method Detail
-
getLinearAcceleration
@Pure default double getLinearAcceleration()
Returns the linear acceleration of this object in m/s^2.The sign of the acceleration indicates if the object is accelerating (positive) or decelerating (negative).
The replied value is in
[-d;a]
where:d
is the max deceleration value, replied bygetMaxLinearDeceleration
.a
is the max acceleration value, replied bygetMaxLinearAcceleration
.
- Returns:
- the linear acceleration of this object in m/s^2.
-
getLinearAcceleration
@Pure double getLinearAcceleration(SpeedUnit unit)
Returns the linear acceleration of this object in the acceleration corresponding to the given speed unit e.g if the speed unit is m/s the acceleration will be given in m/s^2The sign of the acceleration indicates if the object is accelerating (positive) or decelerating (negative).
The replied value is in
[-d;a]
where:d
is the max deceleration value, replied bygetMaxLinearDeceleration
.a
is the max acceleration value, replied bygetMaxLinearAcceleration
.
- Parameters:
unit
- the unit in which the speed will be given.- Returns:
- the linear acceleration of this object in the given unit.
-
-