Package | Description |
---|---|
cse1030.drawing | |
cse1030.test1 |
Modifier and Type | Method and Description |
---|---|
double |
IPoint2D.distanceTo(IPoint2D other)
Returns the distance between
this point and another
point. |
Modifier and Type | Method and Description |
---|---|
IPoint2D |
Circle.getCenter()
Returns the center point of the circle.
|
Modifier and Type | Method and Description |
---|---|
static Circle |
Circle.withDiameter(IPoint2D c,
double d)
Returns a new circle with center point located at
c and
diameter equal to d . |
Constructor and Description |
---|
Circle(IPoint2D c,
double r)
Constructs a new circle with center point located at
c and
radius equal to r . |