Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
PolygonFilter.hpp File Reference
#include "SweepLine.hpp"
#include "BoundingBoxWrapper.hpp"
Include dependency graph for PolygonFilter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fishnet
 
namespace  fishnet::geometry
 

Functions

template<PolygonRange R, util::BiPredicate< std::ranges::range_value_t< R > > BinaryFilter, util::Predicate< std::ranges::range_value_t< R > > Filter = util::TruePredicate>
static std::vector< std::ranges::range_value_t< R > > fishnet::geometry::filter (const R &polygons, BinaryFilter binaryCondition, Filter condition=Filter()) noexcept
 Filters a range of polygons and returns a list of all polygons that pass the filter(s)
 
template<PolygonRange R, util::Predicate< std::ranges::range_value_t< R > > Filter>
static std::vector< std::ranges::range_value_t< R > > fishnet::geometry::filter (const R &polygons, Filter condition) noexcept
 Polygon Filter overload with only a unary filter.
 
template<std::ranges::forward_range R, class Proj , geometry::Shape G = std::invoke_result_t<Proj,std::ranges::range_value_t<std::remove_cvref_t<R>>>>
static std::vector< std::ranges::range_value_t< R > > fishnet::geometry::filter (const R &elements, const Proj &proj, util::BiPredicate< G, G > auto binaryCondition, util::Predicate< G > auto condition)