Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
ContainedOrInHoleFilter.hpp
Go to the documentation of this file.
1#pragma once
3namespace fishnet::geometry{
9 static bool operator()(const IPolygon auto & p, const IPolygon auto & underTest) noexcept{
10 return p != underTest and not p.contains(underTest) and not p.containsInHole(underTest);
11 }
12};
13
14}
Interface for a polygon A polygon is a two-dimensional shape defined by a boundary and zero or more h...
Definition IPolygon.hpp:98
Definition BoundingBoxWrapper.hpp:5
BiPredicate Functor, which emits false when the polygon under test (2nd parameter) is contained in th...
Definition ContainedOrInHoleFilter.hpp:8
static bool operator()(const IPolygon auto &p, const IPolygon auto &underTest) noexcept
Definition ContainedOrInHoleFilter.hpp:9