| Package | Description |
|---|---|
| org.aoju.bus.core.utils |
| Modifier and Type | Method and Description |
|---|---|
GeoUtils.Point |
GeoUtils.Bounds.getCenter() |
GeoUtils.Point |
GeoUtils.Circle.getCenter() |
GeoUtils.Point |
GeoUtils.Bounds.getNorthEast() |
GeoUtils.Point |
GeoUtils.Bounds.getSouthWest() |
GeoUtils.Point |
GeoUtils.Point.retain6() |
GeoUtils.Point |
GeoUtils.Point.toBd09() |
GeoUtils.Point |
GeoUtils.Point.toGcj02() |
GeoUtils.Point |
GeoUtils.Point.toWgs84() |
| Modifier and Type | Method and Description |
|---|---|
List<GeoUtils.Point> |
GeoUtils.Polygon.getPoints() |
| Modifier and Type | Method and Description |
|---|---|
GeoUtils.Polygon |
GeoUtils.Polygon.add(GeoUtils.Point point) |
static int |
GeoUtils.contains(GeoUtils.Circle circle,
GeoUtils.Point point)
判断点是否在圆形范围内
|
boolean |
GeoUtils.Bounds.contains(GeoUtils.Point point) |
int |
GeoUtils.Circle.contains(GeoUtils.Point point)
判断点是否在圆形范围内
|
static boolean |
GeoUtils.contains(GeoUtils.Polygon polygon,
GeoUtils.Point point)
判断点是否在多边形区域内
|
static boolean |
GeoUtils.contains(GeoUtils.Polygon polygon,
GeoUtils.Point point,
boolean on) |
double |
GeoUtils.Point.distance(GeoUtils.Point point) |
static double |
GeoUtils.distance(GeoUtils.Point p1,
GeoUtils.Point p2) |
boolean |
GeoUtils.Polygon.in(GeoUtils.Point point) |
boolean |
GeoUtils.Polygon.on(GeoUtils.Point point) |
static GeoUtils.Bounds |
GeoUtils.rectangle(GeoUtils.Point point,
long distance) |
void |
GeoUtils.Circle.setCenter(GeoUtils.Point center) |
void |
GeoUtils.Bounds.setNorthEast(GeoUtils.Point northEast) |
void |
GeoUtils.Bounds.setSouthWest(GeoUtils.Point southWest) |
| Constructor and Description |
|---|
Bounds(GeoUtils.Point southWest,
GeoUtils.Point northEast) |
Circle(GeoUtils.Point center,
double r)
构造器
|
Polygon(GeoUtils.Point[] points) |
| Constructor and Description |
|---|
Polygon(Collection<GeoUtils.Point> points) |
Copyright © 2020. All rights reserved.