public Point2d (Point2d P) // copy constructor { X = P.X; Y = P.Y; }
public Point2d(Point2d P) // copy constructor { X = P.X; Y = P.Y; }
public static double dot(Point2d P1, Point2d P2) // inner product 2 { return (P1.X * P2.X + P1.Y * P2.Y); }
public static double dot(Point2d P1, Point2d P2) // inner product 2 { return(P1.X * P2.X + P1.Y * P2.Y); }