public static class GeoUtils.Circle extends Object implements Serializable
| Constructor and Description |
|---|
Circle(GeoUtils.Point center,
double r)
构造器
|
| Modifier and Type | Method and Description |
|---|---|
int |
contains(GeoUtils.Point point)
判断点是否在圆形范围内
|
boolean |
equals(Object o) |
GeoUtils.Point |
getCenter() |
double |
getR() |
int |
hashCode() |
void |
setCenter(GeoUtils.Point center) |
void |
setR(double r) |
public Circle(GeoUtils.Point center, double r)
center - 圆心r - 半径public GeoUtils.Point getCenter()
public void setCenter(GeoUtils.Point center)
public double getR()
public void setR(double r)
public int contains(GeoUtils.Point point)
point - 点Copyright © 2020. All rights reserved.