Object
Point3D

public class Point3D extends Object
Point in 3D.
  • Constructor Details

    • Point3D

      public Point3D()
      Origin with all values equal 0
    • Point3D

      public Point3D(double x, double y, double z)
  • Method Details

    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • scaled

      public Point3D scaled(double scale)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object