Make your own free website on Tripod.com
A C D L P T X Y

A

area() - Method in class Circle
Returns the area of the Circle.
assign(double, double) - Method in class Point
Assigns the value of coordinates x and y to this point.
assign(Point) - Method in class Point
Assigns the value of pt to this point.

C

Circle - class Circle.
This class represents a Circle as a center/radius (Point,Line) pair.

D

distance() - Method in class Point
Returns the distance of the point from the origin.
distance(Point) - Method in class Point
Returns the distance of pt from this point.

L

length() - Method in class Line
Returns the length of the Line.
Line - class Line.
This class represents a Line as a Point pair.

P

Point - class Point.
This class represents a Point as an x,y pair.
Point() - Constructor for class Point
Default class constructor creates a point at the origin.
Point(double, double) - Constructor for class Point
Class constructor creates a point at the given coordinate.

T

toString() - Method in class Point
Method used by Java to convert from Point to string.
toString() - Method in class Line
Method used by Java to convert from Line to string.
toString() - Method in class Circle
Method used by Java to convert from Circle to string.

X

x - Variable in class Point
Holds the x coordinate.

Y

y - Variable in class Point
Holds the y coordinate.

A C D L P T X Y