Package com.mapfactor.sdk.map
Interface Coordinate
public interface Coordinate
Geographical coordinate
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic Coordinate
createDeg
(double latitudeDeg, double longitudeDeg) Create and initialize Coordinate instancestatic Coordinate
createMs
(int latitudeMs, int longitudeMs) Create and initialize Coordinate instancedouble
Get coordinate latitude in degreesint
Get coordinate latitude in millisecondsdouble
Get coordinate longitude in degreesint
Get coordinate longitude in milliseconds
-
Method Details
-
createDeg
Create and initialize Coordinate instance- Parameters:
latitudeDeg
- latitude in degreeslongitudeDeg
- longitude in degrees- Returns:
- created Coordinate object instance
- Since:
- 1.0
-
createMs
Create and initialize Coordinate instance- Parameters:
latitudeMs
- latitude in millisecondslongitudeMs
- longitude in milliseconds- Returns:
- created Coordinate object instance
- Since:
- 1.0
-
getLatitudeDeg
double getLatitudeDeg()Get coordinate latitude in degrees- Returns:
- latitude in degrees
- Since:
- 1.0
-
getLatitudeMs
int getLatitudeMs()Get coordinate latitude in milliseconds- Returns:
- latitude in milliseconds
- Since:
- 1.0
-
getLongitudeDeg
double getLongitudeDeg()Get coordinate longitude in degrees- Returns:
- latitude in degrees
- Since:
- 1.0
-
getLongitudeMs
int getLongitudeMs()Get coordinate longitude in milliseconds- Returns:
- latitude in milliseconds
- Since:
- 1.0
-