LCGeoPoint represents a geographic location that may be associated with a key in a LCObject or used as a reference point for queries.
More...
LCGeoPoint represents a geographic location that may be associated with a key in a LCObject or used as a reference point for queries.
◆ LCGeoPoint()
LeanCloud.Storage.LCGeoPoint.LCGeoPoint |
( |
double |
latitude, |
|
|
double |
longtitude |
|
) |
| |
|
inline |
Constructs a LCGeoPoint with the specified latitude and longitude.
- Parameters
-
◆ KilometersTo()
double LeanCloud.Storage.LCGeoPoint.KilometersTo |
( |
LCGeoPoint |
point | ) |
|
|
inline |
Calculate the distance in kilometers between this point and another GeoPoint.
- Parameters
-
- Returns
◆ MilesTo()
double LeanCloud.Storage.LCGeoPoint.MilesTo |
( |
LCGeoPoint |
point | ) |
|
|
inline |
Calculate the distance in miles between this point and another GeoPoint.
- Parameters
-
- Returns
◆ RadiansTo()
double LeanCloud.Storage.LCGeoPoint.RadiansTo |
( |
LCGeoPoint |
point | ) |
|
|
inline |
Calculate the distance in radians between this point and another GeoPoint.
- Parameters
-
- Returns
◆ Latitude
double LeanCloud.Storage.LCGeoPoint.Latitude |
|
get |
◆ Longitude
double LeanCloud.Storage.LCGeoPoint.Longitude |
|
get |
◆ Origin
The documentation for this class was generated from the following file: