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 (double latitude, double longtitude) |
| Constructs a LCGeoPoint with the specified latitude and longitude.
|
|
double | KilometersTo (LCGeoPoint point) |
| Calculate the distance in kilometers between this point and another GeoPoint.
|
|
double | MilesTo (LCGeoPoint point) |
| Calculate the distance in miles between this point and another GeoPoint.
|
|
double | RadiansTo (LCGeoPoint point) |
| Calculate the distance in radians between this point and another GeoPoint.
|
|
|
double | Latitude [get] |
| Gets the latitude of the LCGeoPoint.
|
|
double | Longitude [get] |
| Gets the longitude of the LCGeoPoint.
|
|
static LCGeoPoint | Origin [get] |
| The original LCGeoPoint.
|
|
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 |
Gets the latitude of the LCGeoPoint.
◆ Longitude
double LeanCloud.Storage.LCGeoPoint.Longitude |
|
get |
Gets the longitude of the LCGeoPoint.
◆ Origin
The documentation for this class was generated from the following file: