Package org.elasticsearch.test.geo
Class RandomGeoGenerator
java.lang.Object
org.elasticsearch.test.geo.RandomGeoGenerator
Random geo generation utilities for randomized
geo_point
type testing
does not depend on jts or spatial4j.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeoPoint
static void
randomPoint
(Random r, double[] pt) static GeoPoint
randomPointIn
(Random r, double minLon, double minLat, double maxLon, double maxLat) static void
randomPointIn
(Random r, double minLon, double minLat, double maxLon, double maxLat, double[] pt)
-
Constructor Details
-
RandomGeoGenerator
public RandomGeoGenerator()
-
-
Method Details
-
randomPoint
-
randomPointIn
public static void randomPointIn(Random r, double minLon, double minLat, double maxLon, double maxLat, double[] pt) -
randomPoint
-
randomPointIn
-