public interface ICircle
Circle
.Modifier and Type | Method and Description |
---|---|
Circle |
clone()
Returns a mutable copy of this circle.
|
boolean |
contains(double x,
double y)
Returns true if this circle contains the specified point.
|
boolean |
contains(XY p)
Returns true if this circle contains the supplied point.
|
boolean |
intersects(ICircle c)
Returns true if this circle intersects the supplied circle.
|
Circle |
offset(double x,
double y)
Translates the circle by the specified offset.
|
Circle |
offset(double x,
double y,
Circle result)
Translates the circle by the specified offset and stores the result in the supplied object.
|
double |
radius()
Returns this circle's radius.
|
double |
x()
Returns this circle's x-coordinate.
|
double |
y()
Returns this circle's y-coordinate.
|
double x()
double y()
double radius()
boolean intersects(ICircle c)
boolean contains(XY p)
boolean contains(double x, double y)
Circle offset(double x, double y)
Circle offset(double x, double y, Circle result)
Circle clone()
Copyright © 2017. All rights reserved.