GeoCoordinates

Class containing position in WGS84 coordinates with double precision

Constructors

Link copied to clipboard
open fun GeoCoordinates(latitude: Double, longitude: Double)
Creates a GeoCoordinate with specified latitude and longitude values.
Link copied to clipboard
open fun GeoCoordinates(latitude: Double, longitude: Double, altitude: Double)
Creates a GeoCoordinate with specified latitude, longitude and altitude values.

Functions

Link copied to clipboard
open fun describeContents(): Int
For documentation, see android.os.Parcelable.describeContents().
Link copied to clipboard
Calculates the distance, as measured in meters, between this GeoCoordinate and the specified GeoCoordinate.
Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun getAltitude(): Double
Returns the altitude, as measured in meters above sea-level.
Link copied to clipboard
open fun getLatitude(): Double
Returns the latitude, as measured in degrees, representing north-south coordinate (y-axis on a map).
Link copied to clipboard
open fun getLongitude(): Double
Returns the longitude, as measured in degrees, representing east-west coordinate (x-axis on a map).
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun isValid(): Boolean
Represents whether the GeoCoordinates are valid.
Link copied to clipboard
If object after recreate from parcel contains all of reference like original object method return true.
Link copied to clipboard
open fun toString(): String
For documentation, see java.lang.Object.
Link copied to clipboard
open fun writeToParcel(dest: Parcel, flags: Int)
For documentation, see android.os.Parcelable.writeToParcel().

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Convenience constant with invalid GeoCoordinates.