Dokumentaro de Gambaso
Compilation & Installation
Components
gb
gb.crypt
gb.qt4
Documents
Indekso de Lingvo
Language Overviews
LeguMin
Lexicon
Registro

MapPoint (gb.map)

This class define a Latitude/Longitude points and provide tools to deal with them.

This class is made to work with World Geodetic System 1984 (WGS84) EPSG:4326

This class is creatable.

This class can be used as a static function.

Static methods
Bearing   Calculate the initial bearing ("direction", in degrees) between two MapPoint positions.
Distance   Compute the geodesic distance (in meters) between two points specified by latitude & longitude (in numeric degrees).
From   Calculate a MapPoint object representing a destination point, given starting position lat / long (numeric degrees), bearing (numeric degrees) & distance (in m).
FromString  
GetCenter   Returns the Central Point between several (array of) MapPoint positions.
ToString  

Properties
Lat   Return or Set the latitude of the point.
Lon   Return or set the longitude of the point.