org.osm2world.core.map_data.creation
Interface MapProjection

All Known Implementing Classes:
HackMapProjection

public interface MapProjection

function that converts latitude/longitude coordinates to internally used x/z coordinates


Method Summary
 double calcLat(VectorXZ pos)
          inverse for calcPos(double, double)
 double calcLon(VectorXZ pos)
          inverse for calcPos(double, double)
 VectorXZ calcPos(double lat, double lon)
           
 VectorXZ calcPos(LatLon latlon)
           
 VectorXZ getNorthUnit()
          returns a vector that points one meter to the north from the position that becomes the coordinate origin
 

Method Detail

calcPos

VectorXZ calcPos(double lat,
                 double lon)

calcPos

VectorXZ calcPos(LatLon latlon)

calcLat

double calcLat(VectorXZ pos)
inverse for calcPos(double, double)


calcLon

double calcLon(VectorXZ pos)
inverse for calcPos(double, double)


getNorthUnit

VectorXZ getNorthUnit()
returns a vector that points one meter to the north from the position that becomes the coordinate origin