コード例 #1
0
        public static Geometry withinDistanceIndexed(Geometry a, Geometry mask, double maximumDistance)
        {
            var indexedDist = new IndexedFacetDistance(mask);

            return(Select(a, t => indexedDist.IsWithinDistance(t, maximumDistance)));
        }
コード例 #2
0
 protected override bool IsWithinDistance(Geometry g1, Geometry g2, double distance)
 {
     return(IndexedFacetDistance.IsWithinDistance(g1, g2, distance));
 }