Class Position

java.lang.Object
org.opentrafficsim.road.network.factory.rti.data.Position
All Implemented Interfaces:
Serializable

public class Position
extends Object
implements Serializable
See Also:
Serialized Form
  • Constructor Details

    • Position

      public Position​(double y2, double x2, double z2)
      Parameters:
      y2 - double; x
      x2 - double; y
      z2 - double; z
    • Position

      public Position()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class 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