/home/martin/workspace/OpenStreetNav/src/projection/MapProjection.h
Go to the documentation of this file.
00001 /*
00002  * MapProjection.h
00003  *
00004  *  Created on: Nov 12, 2011
00005  *      Author: martin
00006  */
00007 
00008 #ifndef MAPPROJECTION_H_
00009 #define MAPPROJECTION_H_
00010 
00011 #include "../geoelements/geoelements.h"
00012 #include "FlatPoint.h"
00013 
00014 namespace proj
00015 {
00016 
00021 class MapProjection
00022 {
00023 public:
00030     virtual FlatPoint project(double lat, double lon) = 0;
00036     virtual FlatPoint project(geo::Point const& p);
00043     virtual geo::Point unproject(double x, double y) = 0;
00049     virtual geo::Point unproject(FlatPoint const& p);
00050     virtual ~MapProjection();
00051 };
00052 
00053 } /* namespace geo */
00054 #endif /* MAPPROJECTION_H_ */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines