Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
DistanceBiPredicate< DistanceFunction > Struct Template Reference

Distance BiPredicate Functor. Emits true if the distance between the two shapes is less or equal to the maximum distance (in meters). More...

#include <DistancePredicate.hpp>

Public Member Functions

bool operator() (fishnet::geometry::Shape auto const &lhs, fishnet::geometry::Shape auto const &rhs) const noexcept
 

Public Attributes

DistanceFunction distanceFunction
 
double maxDistanceInMeters
 

Detailed Description

template<fishnet::util::BiFunction< fishnet::geometry::Vec2DReal, fishnet::geometry::Vec2DReal, fishnet::math::DEFAULT_FLOATING_POINT > DistanceFunction>
struct DistanceBiPredicate< DistanceFunction >

Distance BiPredicate Functor. Emits true if the distance between the two shapes is less or equal to the maximum distance (in meters).

Template Parameters
DistanceFunctiontype determining how to calculate the distance between two points in meters.

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ distanceFunction

◆ maxDistanceInMeters


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