Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
E
G
M
N
P
S
T
A
area(double)
- Static method in class
Circle
Calculates the area of a circle with the given radius.
area(double)
- Static method in class
MutableCircle
Calculates the area of a circle with the given radius.
C
Circle
- Class in
<Unnamed>
Circle(MutablePoint, double)
- Constructor for class
Circle
Creates a circle with center at the given point, with the given radius.
Circle()
- Constructor for class
Circle
Creates a circle at the origin with radius 1.
circum(double)
- Static method in class
Circle
Calculates the circumference of a circle with the given radius.
circum(double)
- Static method in class
MutableCircle
Calculates the circumference of a circle with the given radius.
E
equals(Object)
- Method in class
Circle
Determines whether this circle is equal to a provided object.
equals(Object)
- Method in class
MutableCircle
Determines whether this circle is equal to a provided object.
equals(Object)
- Method in class
MutablePoint
Determines whether two points are equal.
G
getPoint()
- Method in class
Circle
Returns the circle's center.
getPoint()
- Method in class
MutableCircle
Returns the circle's center.
getRadius()
- Method in class
Circle
Returns the radius of the circle.
getRadius()
- Method in class
MutableCircle
Returns the radius of the circle.
getX()
- Method in class
MutablePoint
Returns the value of x.
getY()
- Method in class
MutablePoint
Returns the value of y.
M
MutableCircle
- Class in
<Unnamed>
MutableCircle(MutablePoint, double)
- Constructor for class
MutableCircle
Creates a circle with center at the given point, with the given radius.
MutableCircle()
- Constructor for class
MutableCircle
Creates a circle at the origin with radius 1.
MutableCircle(MutableCircle)
- Constructor for class
MutableCircle
Copy constructor.
MutablePoint
- Class in
<Unnamed>
MutablePoint(double, double)
- Constructor for class
MutablePoint
Creates a point with the given x-y coordinates.
MutablePoint()
- Constructor for class
MutablePoint
Creates a point at the origin (x=y=0).
MutablePoint(MutablePoint)
- Constructor for class
MutablePoint
Copy constructor.
N
numCircles()
- Static method in class
Circle
Returns the number of circle objects that have been created.
numCircles()
- Static method in class
MutableCircle
Returns the number of circle objects that have been created.
P
PI
- Static variable in class
Circle
Contains the value of pi to four decimal places.
PI
- Static variable in class
MutableCircle
Contains the value of pi to four decimal places.
S
set(double, double)
- Method in class
MutablePoint
Sets the value of the coordinates.
setPoint(MutablePoint)
- Method in class
MutableCircle
Sets the center point.
T
toString()
- Method in class
Circle
Converts the object to a string.
toString()
- Method in class
MutableCircle
Converts the object to a string.
toString()
- Method in class
MutablePoint
Converts the point to a string.
A
C
E
G
M
N
P
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes