postgis/deps/wagyu/include/mapbox/geometry/empty.hpp
Raúl Marín Rodríguez 5508a4f89c Integrate wagyu to validate MVT polygons
Closes https://github.com/postgis/postgis/pull/356
Closes #4311



git-svn-id: http://svn.osgeo.org/postgis/trunk@17231 b70326c6-7e19-0410-871a-916f4a2858ee
2019-02-05 15:27:53 +00:00

19 lines
572 B
C++

#pragma once
namespace mapbox {
namespace geometry {
struct empty
{
}; // this Geometry type represents the empty point set, ∅, for the coordinate space (OGC Simple Features).
constexpr bool operator==(empty, empty) { return true; }
constexpr bool operator!=(empty, empty) { return false; }
constexpr bool operator<(empty, empty) { return false; }
constexpr bool operator>(empty, empty) { return false; }
constexpr bool operator<=(empty, empty) { return true; }
constexpr bool operator>=(empty, empty) { return true; }
} // namespace geometry
} // namespace mapbox