public class SpeedInfoCurvature extends Object implements Serializable
Copyright (c) 2013-2017 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(org.djunits.value.vdouble.scalar.Length radius)
Constructor with curvature radius.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
org.djunits.value.vdouble.scalar.Length |
getRadius()
Returns the curvature radius.
|
org.djunits.value.vdouble.scalar.Speed |
getSpeedForLateralAcceleration(org.djunits.value.vdouble.scalar.Acceleration acceleration)
Returns the speed for which the current lateral acceleration follows in the corner.
|
int |
hashCode() |
String |
toString() |
public SpeedInfoCurvature(org.djunits.value.vdouble.scalar.Length radius)
radius
- curvature radiusNullPointerException
- if radius is nullpublic final org.djunits.value.vdouble.scalar.Length getRadius()
public final org.djunits.value.vdouble.scalar.Speed getSpeedForLateralAcceleration(org.djunits.value.vdouble.scalar.Acceleration acceleration)
acceleration
- acceleration to result from speed in cornerNullPointerException
- if acceleration is nullCopyright © 2014–2017 Delft University of Technology. All rights reserved.