Go to the documentation of this file.
41 #ifndef __OPENFLUID_LANDR_GEOSCOMPAT_HPP__
42 #define __OPENFLUID_LANDR_GEOSCOMPAT_HPP__
45 #include <openfluid/config.hpp>
47 namespace openfluid {
namespace landr {
49 #if GEOS_VERSION_GREATER_OR_EQUAL_3_3_0
50 #define GET_DANGLES(P,D) \
53 #define GET_DANGLES(P,D) \
54 std::vector<const geos::geom::LineString*>* TheDangles = P->getDangles(); \
55 if (TheDangles) D = *TheDangles;
58 #if GEOS_VERSION_GREATER_OR_EQUAL_3_3_2
59 #define GEOM_PTR_PAIR geos::geom::GeomPtrPair
61 #define GEOM_PTR_PAIR std::pair<std::unique_ptr<geos::geom::Geometry>,std::unique_ptr<geos::geom::Geometry> >