19 using Lucene.Net.Index;
20 using Lucene.Net.Spatial.Prefix.Tree;
21 using Lucene.Net.Spatial.Util;
22 using Spatial4n.Core.Shapes;
24 namespace Lucene.Net.Spatial.Prefix
37 : base(shapeField, defaultSize)
43 private Node scanCell = null;
45 protected override Point ReadShape(
Term term)
47 scanCell = grid.GetNode(term.
Text, scanCell);
48 return scanCell.
IsLeaf() ? scanCell.GetShape().GetCenter() : null;