public class GeolocationMaths
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
SIGNIFICANT_DIGITS |
| 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)
decimal - GeoLocatorExceptionpublic static double dms2Decimal(int[] dms)
dms - GeoLocatorExceptionpublic static double truncateDecimal(double decimal)
Copyright © 2018 SAP SE. All Rights Reserved.