Represents a world position in LatLng format.
More...
Represents a world position in LatLng format.
◆ get_latitude()
def get_latitude |
( |
|
self, |
|
|
bool |
in_radian = True |
|
) |
| |
Get the latitude coordinate.
- Parameters
-
in_radian | Is the output should be in radian or degree. |
- Returns
- Latitude in radian or in degree depending in_radian parameter.
◆ get_longitude()
def get_longitude |
( |
|
self, |
|
|
|
in_radian = True |
|
) |
| |
Get the longitude coordinate.
- Parameters
-
in_radian | Is the output should be in radian or degree. |
- Returns
- Longitude in radian or in degree depending in_radian parameter.
◆ get_altitude()
Get the altitude coordinate.
- Returns
- Altitude coordinate in meters.
◆ get_coordinates()
def get_coordinates |
( |
|
self, |
|
|
|
in_radian = True |
|
) |
| |
Get the coordinates in radians (default) or in degrees.
- Parameters
-
latitude | Latitude coordinate. |
longitude | Longitude coordinate. |
altitude | Altitude coordinate. |
in_radian | Should the output be expressed in radians or degrees. |
◆ set_coordinates()
def set_coordinates |
( |
|
self, |
|
|
double |
latitude, |
|
|
double |
longitude, |
|
|
double |
altitude, |
|
|
|
in_radian = True |
|
) |
| |
Set the coordinates in radians (default) or in degrees.
- Parameters
-
latitude | Latitude coordinate. |
longitude | Longitude coordinate. |
altitude | Altitude coordinate. @param in_radian: Is input are in radians or in degrees. |