19 using Lucene.Net.Index;
20 using Lucene.Net.Search;
21 using Lucene.Net.Spatial.Prefix.Tree;
22 using Lucene.Net.Spatial.Queries;
23 using Lucene.Net.Spatial.Util;
24 using Spatial4n.Core.Shapes;
26 namespace Lucene.Net.Spatial.Prefix
35 : base(grid, fieldName)
39 public override Filter MakeFilter(SpatialArgs args)
45 Shape shape = args.Shape;
46 int detailLevel = grid.GetLevelForDistance(args.ResolveDistErr(ctx, distErrPct));
47 var cells = grid.GetNodes(shape, detailLevel,
false);
49 foreach (
Node cell
in cells)