21 #include <geos/index/strtree/Boundable.h>
22 #include <geos/index/strtree/ItemDistance.h>
51 struct BoundablePairQueueCompare {
59 typedef std::priority_queue<BoundablePair*, std::vector<BoundablePair*>, BoundablePairQueueCompare> BoundablePairQueue;
111 static bool isComposite(
const Boundable* item);
115 void expandToQueue(BoundablePairQueue&,
double minDistance);
116 void expand(
const Boundable* bndComposite,
const Boundable* bndOther,
bool isFlipped, BoundablePairQueue& priQ,
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25
A pair of Boundables, whose leaf items support a distance metric between them.
Definition: BoundablePair.h:43
double maximumDistance()
Computes the maximum distance between any two items in the pair of nodes.
A spatial object in an AbstractSTRtree.
Definition: Boundable.h:24
const Boundable * getBoundable(int i) const
double distance() const
Computes the distance between the Boundables in this pair. The boundables are either composites or le...
A function method which computes the distance between two ItemBoundables in an STRtree....
Definition: ItemDistance.h:33
double getDistance() const
Gets the minimum possible distance between the Boundables in this pair.