GEOS 3.11.1
Functions
Nearest-neighbor

Functions

template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour (ItemDistance &distance)
 
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour ()
 
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour (TemplateSTRtreeImpl< ItemType, BoundsTraits > &other, ItemDistance &distance)
 
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour (TemplateSTRtreeImpl< ItemType, BoundsTraits > &other)
 
template<typename ItemDistance >
ItemType geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour (const BoundsType &env, const ItemType &item, ItemDistance &itemDist)
 
template<typename ItemDistance >
ItemType geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour (const BoundsType &env, const ItemType &item)
 

Detailed Description

Function Documentation

◆ nearestNeighbour() [1/4]

template<typename ItemType , typename BoundsTraits >
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour ( )
inline

◆ nearestNeighbour() [2/4]

template<typename ItemType , typename BoundsTraits >
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour ( ItemDistance distance)
inline

Determine the two closest items in the tree using distance metric distance.

References geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour().

◆ nearestNeighbour() [3/4]

template<typename ItemType , typename BoundsTraits >
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour ( TemplateSTRtreeImpl< ItemType, BoundsTraits > &  other)
inline

Determine the two closest items this tree and other tree using distance metric distance.

References geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour().

◆ nearestNeighbour() [4/4]

template<typename ItemType , typename BoundsTraits >
template<typename ItemDistance >
std::pair< ItemType, ItemType > geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::nearestNeighbour ( TemplateSTRtreeImpl< ItemType, BoundsTraits > &  other,
ItemDistance distance 
)
inline

Determine the two closest items this tree and other tree using distance metric distance.

References geos::index::strtree::TemplateSTRtreeImpl< ItemType, BoundsTraits >::getRoot().