Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
IDReduceFunction Struct Reference

Reduce function Functor that merges a set of settlements polygons into a single settlement multi-polygon. The resulting settlement has the accumulated id of all merged settlements. More...

#include <IDReduceFunction.hpp>

Collaboration diagram for IDReduceFunction:

Public Member Functions

 IDReduceFunction (FileReference outputFileRef)
 
 IDReduceFunction ()=default
 
template<fishnet::geometry::IPolygon P>
SettlementShape< fishnet::geometry::MultiPolygon< P > > operator() (const std::vector< SettlementShape< P > > &settlementPolygons) const noexcept
 

Public Attributes

FileReference outputFileRef
 

Detailed Description

Reduce function Functor that merges a set of settlements polygons into a single settlement multi-polygon. The resulting settlement has the accumulated id of all merged settlements.

Constructor & Destructor Documentation

◆ IDReduceFunction() [1/2]

IDReduceFunction::IDReduceFunction ( FileReference  outputFileRef)
inline

◆ IDReduceFunction() [2/2]

IDReduceFunction::IDReduceFunction ( )
default

Member Function Documentation

◆ operator()()

SettlementShape< fishnet::geometry::MultiPolygon< P > > IDReduceFunction::operator() ( const std::vector< SettlementShape< P > > &  settlementPolygons) const
inlinenoexcept

Member Data Documentation

◆ outputFileRef

FileReference IDReduceFunction::outputFileRef

The documentation for this struct was generated from the following file: