Class Velocity
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.rti.data.Velocity
-
- All Implemented Interfaces:
java.io.Serializable
public class Velocity extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Velocity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetVx()floatgetVy()floatgetVz()voidsetVx(float vx)voidsetVy(float vy)voidsetVz(float vz)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getVx
public float getVx()
- Returns:
- vx
-
setVx
public void setVx(float vx)
- Parameters:
vx- float; set vx
-
getVy
public float getVy()
- Returns:
- vy
-
setVy
public void setVy(float vy)
- Parameters:
vy- float; set vy
-
getVz
public float getVz()
- Returns:
- vz
-
setVz
public void setVz(float vz)
- Parameters:
vz- float; set vz
-
-