/home/martin/workspace/OpenStreetNav/src/projection/FlatPoint.cpp
Go to the documentation of this file.
00001 /*
00002  * FlatPoint.cpp
00003  *
00004  *  Created on: Nov 12, 2011
00005  *      Author: martin
00006  */
00007 
00008 #include "FlatPoint.h"
00009 
00010 namespace proj
00011 {
00012 
00013 FlatPoint::FlatPoint(double x, double y):
00014     x(x),
00015     y(y)
00016 {
00017 }
00018 
00019 bool FlatPoint::operator ==(const FlatPoint& other)
00020 {
00021     return x == other.x && y == other.y;
00022 }
00023 
00024 bool FlatPoint::operator !=(const FlatPoint& other)
00025 {
00026     return !(*this == other);
00027 }
00028 
00029 } /* namespace geo */
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines