public static Geometry withinDistanceIndexed(Geometry a, Geometry mask, double maximumDistance) { var indexedDist = new IndexedFacetDistance(mask); return(Select(a, t => indexedDist.IsWithinDistance(t, maximumDistance))); }
protected override bool IsWithinDistance(Geometry g1, Geometry g2, double distance) { return(IndexedFacetDistance.IsWithinDistance(g1, g2, distance)); }