Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
InsidePolygonFilter.hpp
Go to the documentation of this file.
1#pragma once
4
10private:
11 static inline fishnet::geometry::ContainedOrInHoleFilter filter{};
12public:
13 static inline bool operator()(fishnet::geometry::IPolygon auto const & lhs, fishnet::geometry::IPolygon auto const & rhs ) noexcept {
14 return filter(lhs,rhs);
15 }
16};
Binary Filter, testing if the other polygons contain another or are inside a hole.
Definition InsidePolygonFilter.hpp:9
static bool operator()(fishnet::geometry::IPolygon auto const &lhs, fishnet::geometry::IPolygon auto const &rhs) noexcept
Definition InsidePolygonFilter.hpp:13
Interface for a polygon A polygon is a two-dimensional shape defined by a boundary and zero or more h...
Definition IPolygon.hpp:98
BiPredicate Functor, which emits false when the polygon under test (2nd parameter) is contained in th...
Definition ContainedOrInHoleFilter.hpp:8