public class ProfileSpeed extends Object
| Constructor and Description |
|---|
ProfileSpeed(double targetSpeed,
SpeedReference reference)
Create a new instance with the given target speed, in meters per second.
|
| Modifier and Type | Method and Description |
|---|---|
SpeedReference |
getSpeedReference()
Gets the value indicating whether the
TargetSpeed (get)
includes the vertical component. |
double |
getTargetSpeed()
Gets the target speed, in meters per second.
|
boolean |
isEquivalent(ProfileSpeed otherSpeed)
Checks whether the other instance is equivalent to this one.
|
public ProfileSpeed(double targetSpeed,
@Nonnull
SpeedReference reference)
targetSpeed - The target speed, in meters per second.reference - An enumeration indicating whether the speed includes
the vertical component.public final double getTargetSpeed()
@Nonnull public final SpeedReference getSpeedReference()
TargetSpeed (get)
includes the vertical component.public final boolean isEquivalent(ProfileSpeed otherSpeed)
otherSpeed - The other dynamics to check.