Interface Point2DDoubleAdapter<Point>
- Type Parameters:
Point- The type of the object that represents a point in 2D space with double precision.
public interface Point2DDoubleAdapter<Point>
Adapter for treating arbitrary objects as a
Point2DDouble.-
Method Summary
-
Method Details
-
newPoint
Creates a new point with the given coordinates.- Parameters:
x- The x-coordinate of the point.y- The y-coordinate of the point.- Returns:
- A new point with the specified coordinates.
-
x
Gets the x-coordinate of the given point.- Parameters:
point- The point from which to retrieve the x-coordinate.- Returns:
- The x-coordinate of the point.
-
y
Gets the y-coordinate of the given point.- Parameters:
point- The point from which to retrieve the y-coordinate.- Returns:
- The y-coordinate of the point.
-