// Copyright 2018, University of Freiburg, // Chair of Algorithms and Data Structures. // Authors: Patrick Brosi #ifndef PFAEDLE_DEF_H_ #define PFAEDLE_DEF_H_ #include "util/geo/Geo.h" #include "util/geo/PolyLine.h" #define __str_a(s) __str_b(s) #define __str_b(s) #s #define __str_c(s) s ## 1 #define __str_d(s) __str_c(s) #if !defined(PFAEDLE_PRECISION) || (__str_d(PFAEDLE_PRECISION) == 1) #undef PFAEDLE_PRECISION #define PFAEDLE_PRECISION double #endif #define PFAEDLE_PRECISION_STR __str_a(PFAEDLE_PRECISION) #define POINT util::geo::Point #define LINE util::geo::Line #define BOX util::geo::Box #define POLYLINE util::geo::PolyLine #endif // PFAEDLE_DEF_H_