public class Circle
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
Point |
getCenter()
The center of the circle
|
float |
getRadius()
The radius of the circle (in meters)
|
int |
hashCode() |
java.lang.String |
toString() |
public Circle(Point center, float radius)
public Point getCenter()
public float getRadius()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object