public class CircleUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
circleToPolygonNumSides(double radiusMeters,
double errorDistanceMeters) |
static double[][] |
createRegularGeoShapePolygon(double centerCenterLat,
double circleCenterLon,
double circleRadiusMeters,
int gons)
Makes an n-gon, centered at the provided circle's center, and each vertex approximately
`circleRadius` away from the center.
|
static double[][] |
createRegularShapePolygon(double circleCenterX,
double circleCenterY,
double circleRadius,
int gons)
Makes an n-gon, centered at the provided circle's center.
|
public static double[][] createRegularGeoShapePolygon(double centerCenterLat,
double circleCenterLon,
double circleRadiusMeters,
int gons)
public static double[][] createRegularShapePolygon(double circleCenterX,
double circleCenterY,
double circleRadius,
int gons)
public static int circleToPolygonNumSides(double radiusMeters,
double errorDistanceMeters)
Copyright © 2012–2023. All rights reserved.