D | core+Point3.java | 4 public class Point3 { class 8 public Point3(double x, double y, double z) { in Point3() method in Point3 14 public Point3() { in Point3() method in Point3 18 public Point3(Point p) { in Point3() method in Point3 24 public Point3(double[] vals) { in Point3() method in Point3 41 public Point3 clone() { in clone() 42 return new Point3(x, y, z); in clone() 45 public double dot(Point3 p) { in dot() 49 public Point3 cross(Point3 p) { in cross() 50 return new Point3(y * p.z - z * p.y, z * p.x - x * p.z, x * p.y - y * p.x); in cross() [all …]
|