Class Point3


  • public class Point3
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      double x  
      double y  
      double z  
    • Constructor Summary

      Constructors 
      Constructor Description
      Point3()  
      Point3​(double[] vals)  
      Point3​(double x, double y, double z)  
      Point3​(Point p)  
    • Field Detail

      • x

        public double x
      • y

        public double y
      • z

        public double z
    • Constructor Detail

      • Point3

        public Point3​(double x,
                      double y,
                      double z)
      • Point3

        public Point3()
      • Point3

        public Point3​(Point p)
      • Point3

        public Point3​(double[] vals)
    • Method Detail

      • set

        public void set​(double[] vals)
      • clone

        public Point3 clone()
        Overrides:
        clone in class java.lang.Object
      • dot

        public double dot​(Point3 p)
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object