Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
D
G
P
S
T
D
distance(Point, Point)
- Static method in class
Point
A public class method that returns the euclidean distance between two point instances.
G
getName()
- Method in class
Point
An accessor for the data name
getX()
- Method in class
Point
An accessor for the x-coordiante
getY()
- Method in class
Point
An accessor for the y-coordinate
P
Point
- class
Point
.
The Point class is used to represent a point in some two-dimenstion space, the axes of which are labeled here as x and y.
Point(String)
- Constructor for class
Point
A constructor in which to specify just the name.
Point(String, int, int)
- Constructor for class
Point
A constructor in which to specify all three data members at once.
Point(String, Point)
- Constructor for class
Point
A copy constructor, in which to specify the name of the new point, and a point whose coordinates to copy into this
S
setX(int)
- Method in class
Point
A mutator for the x-coordiante
setY(int)
- Method in class
Point
A mutator for the y-coordiante
T
toString()
- Method in class
Point
The method inherited from Object and overriden here to give an informative String about the instance at hand
D
G
P
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes