Class Point3D.Float

java.lang.Object
net.frozenblock.lib.math.api.Point3D
net.frozenblock.lib.math.api.Point3D.Float
All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:
Point3D

public static class Point3D.Float extends Point3D implements Serializable
The Float class defines a point in 3D space specified in float precision.
See Also:
  • Field Details

    • x

      public float x
    • y

      public float y
    • z

      public float z
  • Constructor Details

    • Float

      public Float()
    • Float

      public Float(float x, float y, float z)
  • Method Details

    • getX

      public double getX()
      Specified by:
      getX in class Point3D
    • getY

      public double getY()
      Specified by:
      getY in class Point3D
    • getZ

      public double getZ()
      Specified by:
      getZ in class Point3D
    • setLocation

      public void setLocation(double x, double y, double z)
      Specified by:
      setLocation in class Point3D
    • setLocation

      public void setLocation(float x, float y, float z)
    • toString

      public String toString()
      Overrides:
      toString in class Object