- All Implemented Interfaces:
Shape
- Author:
- Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Constructor Summary
Constructors
Circle(double x,
double y,
double radius)
-
Method Summary
double
double
double
double
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Circle
public Circle(double x,
double y,
double radius)
-
Method Details
-
getX
public double getX()
-
getY
public double getY()
-
getRadius
public double getRadius()
-
area
public double area()
- Specified by:
area in interface Shape