Package bagel.util
Class Point
java.lang.Object
bagel.util.Point
Immutable class that represents a 2D point in space.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
x
public final double x -
y
public final double y
-
-
Constructor Details
-
Point
public Point()Create the point (0, 0). -
Point
public Point(double x, double y) Create the point (x, y).
-
-
Method Details