Class Position
- java.lang.Object
-
- org.opentrafficsim.road.network.factory.rti.data.Position
-
- All Implemented Interfaces:
java.io.Serializable
public class Position extends java.lang.Object implements java.io.Serializable- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description floatgetX()floatgetY()floatgetZ()voidsetX(float x)voidsetY(float y)voidsetZ(float z)java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getX
public float getX()
- Returns:
- x
-
setX
public void setX(float x)
- Parameters:
x- float; set x
-
getY
public float getY()
- Returns:
- y
-
setY
public void setY(float y)
- Parameters:
y- float; set y
-
getZ
public float getZ()
- Returns:
- z
-
setZ
public void setZ(float z)
- Parameters:
z- float; set z
-
-