public class Point
extends java.lang.Object
Constructor and Description |
---|
Point(double x,
double y)
Creates a new 2-dimensional Point at the coordinates (x, y)
|
Modifier and Type | Method and Description |
---|---|
void |
setPos(double x,
double y)
Sets the position of an existing point to the new location
|