public class SpeedInfoCurvature extends Object implements Serializable
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
SpeedInfoCurvature(Length radius)
Constructor with curvature radius.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Length |
getRadius()
Returns the curvature radius.
|
Speed |
getSpeedForLateralAcceleration(Acceleration acceleration)
Returns the speed for which the current lateral acceleration follows in the corner.
|
int |
hashCode() |
String |
toString() |
public SpeedInfoCurvature(Length radius)
radius - Length; curvature radiusNullPointerException - if radius is nullpublic final Length getRadius()
public final Speed getSpeedForLateralAcceleration(Acceleration acceleration)
acceleration - Acceleration; acceleration to result from speed in cornerNullPointerException - if acceleration is nullCopyright © 2014–2019 Delft University of Technology. All rights reserved.