![]() |
WhirlyGlobe
1.2
A 3D interactive globe toolkit for iOS
|
Convenience wrapper for geodetic coordinates. More...
#include <WhirlyVector.h>
Public Member Functions | |
GeoCoord (float lon, float lat) | |
float | lon () const |
Longitude. | |
float & | lon () |
float | lat () const |
Latitude. | |
float & | lat () |
GeoCoord | operator+ (const GeoCoord &that) |
Static Public Member Functions | |
static GeoCoord | CoordFromDegrees (float lon, float lat) |
Convenience wrapper for geodetic coordinates.
static GeoCoord WhirlyGlobe::GeoCoord::CoordFromDegrees | ( | float | lon, |
float | lat | ||
) | [static] |
Create a geo coordinate using degrees intead of radians. Note the order of the arguments