Class GeoJsonPoint
java.lang.Object
org.evomaster.client.java.controller.mongo.geometry.GeoJsonPoint
-
Constructor Summary
ConstructorsConstructorDescriptionGeoJsonPoint(double longitude, double latitude) Constructs a GeoJsonPoint object with specified longitude and latitude. -
Method Summary
-
Constructor Details
-
GeoJsonPoint
public GeoJsonPoint(double longitude, double latitude) Constructs a GeoJsonPoint object with specified longitude and latitude.- Parameters:
longitude- the longitude of the point, must be between -180 and 180latitude- the latitude of the point, must be between -90 and 90- Throws:
IllegalArgumentException- if the longitude is outside the range -180 to 180IllegalArgumentException- if the latitude is outside the range -90 to 90
-
-
Method Details
-
getLongitude
public double getLongitude() -
getLatitude
public double getLatitude()
-