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