2018-06-09 15:14:08 +00:00
|
|
|
// Copyright 2016, University of Freiburg,
|
|
|
|
// Chair of Algorithms and Data Structures.
|
|
|
|
// Authors: Patrick Brosi <brosi@informatik.uni-freiburg.de>
|
|
|
|
|
|
|
|
#ifndef UTIL_GEOGRAPH_H_
|
|
|
|
#define UTIL_GEOGRAPH_H_
|
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include "util/geo/Geo.h"
|
2018-08-01 12:25:54 +00:00
|
|
|
#include "util/json/Writer.h"
|
2018-06-09 15:14:08 +00:00
|
|
|
|
|
|
|
namespace util {
|
|
|
|
namespace geograph {
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class GeoEdgePL {
|
|
|
|
public:
|
|
|
|
virtual const util::geo::Line<T>* getGeom() const = 0;
|
2018-08-01 12:25:54 +00:00
|
|
|
virtual json::Dict getAttrs() const = 0;
|
2018-06-09 15:14:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
template<typename T>
|
|
|
|
class GeoNodePL {
|
|
|
|
public:
|
|
|
|
virtual const util::geo::Point<T>* getGeom() const = 0;
|
2018-08-01 12:25:54 +00:00
|
|
|
virtual json::Dict getAttrs() const = 0;
|
2018-06-09 15:14:08 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace geograph
|
|
|
|
} // namespace util
|
|
|
|
|
|
|
|
#endif // UTIL_GEOGRAPH_H_
|