Class OpenLocationCode.CodeArea
java.lang.Object
com.dna.jopt.member.unit.converter.openlocation.OpenLocationCode.CodeArea
- Enclosing class:
- OpenLocationCode
Coordinates of a decoded Open Location Code.
The coordinates include the latitude and longitude of the lower left and upper right corners and the center of the bounding box for the area the code represents.
-
Constructor Summary
ConstructorDescriptionCodeArea
(double southLatitude, double westLongitude, double northLatitude, double eastLongitude, int length) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
double
double
int
double
double
double
double
-
Constructor Details
-
CodeArea
public CodeArea(double southLatitude, double westLongitude, double northLatitude, double eastLongitude, int length)
-
-
Method Details
-
getSouthLatitude
public double getSouthLatitude() -
getWestLongitude
public double getWestLongitude() -
getLatitudeHeight
public double getLatitudeHeight() -
getLongitudeWidth
public double getLongitudeWidth() -
getCenterLatitude
public double getCenterLatitude() -
getCenterLongitude
public double getCenterLongitude() -
getNorthLatitude
public double getNorthLatitude() -
getEastLongitude
public double getEastLongitude() -
getLength
public int getLength()
-