public class GeolocationMaths extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SIGNIFICANT_DIGITS |
| Constructor and Description |
|---|
GeolocationMaths() |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
decimal2DMS(double decimal)
Converts decimal representation to DMS coordinate representation (degree, minute, second)
|
static double |
dms2Decimal(int[] dms)
Converts DMS coordinate representation to decimal
|
static double |
truncateDecimal(double decimal) |
public static final int SIGNIFICANT_DIGITS
public static int[] decimal2DMS(double decimal)
throws GeoLocatorException
decimal - GeoLocatorExceptionpublic static double dms2Decimal(int[] dms)
throws GeoLocatorException
dms - GeoLocatorExceptionpublic static double truncateDecimal(double decimal)
Copyright © 2017 SAP SE. All Rights Reserved.