isWithinDistance method
Tests whether the distance from this Geometry
to another is less than or equal to a specified value.
@param geom the Geometry to check the distance to
@param distance the distance value to compare
@return true
if the geometries are less than distance
apart.
Implementation
bool isWithinDistance(Geometry geom, double distance) {
return DistanceOp.isWithinDistanceStatic(this, geom, distance);
}