D G M P S T X Y

D

distanceBetween(Point) - Method in class Point
Compute 2D distance between this and otherPoint.
distanceTo() - Method in class Point
Compute 2D distance from origin to point.

G

getX() - Method in class Point
Get the X value of the point
getY() - Method in class Point
Get the Y value of the point

M

main(String[]) - Static method in class PointTest
 

P

Point - Class in <Unnamed>
Final draft of the Point class for a 2D mathematical point.
Point() - Constructor for class Point
Default constructor.
Point(int, int) - Constructor for class Point
Point Constructor with initialization
PointTest - Class in <Unnamed>
PointTest: Tester class for Point
PointTest() - Constructor for class PointTest
 

S

setPosition(int, int) - Method in class Point
Set the position of the point

T

translate(int, int) - Method in class Point
Translate the point to a new location

X

xCoord - Variable in class Point
 

Y

yCoord - Variable in class Point
X coordinate of the Point

D G M P S T X Y