Class Position

  • All Implemented Interfaces:
    java.io.Serializable

    public class Position
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Position()  
      Position​(double y2, double x2, double z2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      float getX()  
      float getY()  
      float getZ()  
      void setX​(float x)  
      void setY​(float y)  
      void setZ​(float z)  
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Position

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

        public Position()
    • Method Detail

      • toString

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