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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeoPointstatic voidrandomPoint(Random r, double[] pt) static GeoPointrandomPointIn(Random r, double minLon, double minLat, double maxLon, double maxLat) static voidrandomPointIn(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
-