15#ifndef GEOS_OPERATION_CLUSTER_ENVELOPEDISTANCECLUSTERFINDER
16#define GEOS_OPERATION_CLUSTER_ENVELOPEDISTANCECLUSTERFINDER
18#include <geos/operation/cluster/AbstractClusterFinder.h>
19#include <geos/geom/Envelope.h>
46 double m_distance_squared;
An Envelope defines a rectangulare region of the 2D coordinate plane.
Definition Envelope.h:59
double distanceSquared(const Envelope &env) const
Computes the square of the distance between this and another Envelope.
Definition Envelope.h:695
void expandBy(double deltaX, double deltaY)
Expands this envelope by a given distance in all directions. Both positive and negative distances are...
Basic implementation of Geometry, constructed and destructed by GeometryFactory.
Definition Geometry.h:197
virtual const Envelope * getEnvelopeInternal() const =0
Returns the minimum and maximum x and y values in this Geometry, or a null Envelope if this Geometry ...
Definition AbstractClusterFinder.h:47
Definition EnvelopeDistanceClusterFinder.h:28
const geom::Envelope & queryEnvelope(const geom::Geometry *a) override
Definition EnvelopeDistanceClusterFinder.h:33
bool shouldJoin(const geom::Geometry *a, const geom::Geometry *b) override
Definition EnvelopeDistanceClusterFinder.h:39
Basic namespace for all GEOS functionalities.
Definition geos.h:39