| Modifier and Type | Field and Description |
|---|---|
| public static final double |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public double | Returns: The distance, in metres, to the end point.The end point to calculate the distance to. end)From v3_epoly.js, calculates the distance between this LatLong point and another. |
| public double | Returns: The bearing, in degrees, of the supplied point from this point.The point that the bearing is calculated for. end)Calculates the bearing, in degrees, of the end LatLong point from this LatLong point. |
| public LatLong | Returns: A new LatLong indicating the end point.The bearing, in degrees, with North as 0, East as 90 etc. bearing, double The distance in metres. distance)Calculates the LatLong position of the end point of a line the specified distance from this LatLong, along the provided bearing, where North is 0, East is 90 etc. |
| public double | |
| public double | |
| public double | Returns: The latitude value of this LatLong, as radians.Convenience method to convert the latitude of this LatLong to radians. |
| public double | Returns: The longitude of this LatLong, as radians.Convenience method to convert the longitude of this LatLong to radians. |
| public String |
| EarthRadiusMeters | back to summary |
|---|---|
| public static final double EarthRadiusMeters | |
| LatLong | back to summary |
|---|---|
| public LatLong(double latitude, double longitude) | |
| LatLong | back to summary |
|---|---|
| public LatLong(JSObject jsObject)
References Deprecated
See corresponding docs for further information. | |
| distanceFrom | back to summary |
|---|---|
| public double distanceFrom(LatLong end) From v3_epoly.js, calculates the distance between this LatLong point and another.
| |
| getBearing | back to summary |
|---|---|
| public double getBearing(LatLong end) Calculates the bearing, in degrees, of the end LatLong point from this LatLong point.
| |
| getDestinationPoint | back to summary |
|---|---|
| public LatLong getDestinationPoint(double bearing, double distance) Calculates the LatLong position of the end point of a line the specified distance from this LatLong, along the provided bearing, where North is 0, East is 90 etc.
| |
| getLatitude | back to summary |
|---|---|
| public double getLatitude() | |
| getLongitude | back to summary |
|---|---|
| public double getLongitude() | |
| latToRadians | back to summary |
|---|---|
| public double latToRadians() Convenience method to convert the latitude of this LatLong to radians.
| |
| longToRadians | back to summary |
|---|---|
| public double longToRadians() Convenience method to convert the longitude of this LatLong to radians.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |