public class Circle extends Object implements Serializable
DelaunayTriangulation
,
Serialized FormConstructor and Description |
---|
Circle(Circle circ)
Copy Constructor.
|
Circle(Point c,
double r)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Point |
center()
Gets the center of the circle.
|
boolean |
equals(Object obj) |
int |
hashCode() |
double |
radius()
Gets the radius of the circle.
|
String |
toString() |
public Circle(Point c, double r)
c
- Center of the circle.r
- Radius of the circle.public Circle(Circle circ)
circ
.circ
- Circle to clone.public Point center()
public double radius()
Copyright © 2016. All rights reserved.