Lucene.Net.Spatial.Prefix.WithinPrefixTreeFilter.WithinPrefixTreeFilter C# (CSharp) Method

WithinPrefixTreeFilter() public method

See AbstractVisitingPrefixTreeFilter.AbstractVisitingPrefixTreeFilter(IShape, string, SpatialPrefixTree, int, int). queryBuffer is the (minimum) distance beyond the query shape edge where non-matching documents are looked for so they can be excluded. If -1 is used then the whole world is examined (a good default for correctness).
public WithinPrefixTreeFilter ( IShape queryShape, string fieldName, SpatialPrefixTree grid, int detailLevel, int prefixGridScanLevel, double queryBuffer ) : Lucene.Net.Index
queryShape IShape
fieldName string
grid Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTree
detailLevel int
prefixGridScanLevel int
queryBuffer double
return Lucene.Net.Index
        public WithinPrefixTreeFilter(IShape queryShape, string fieldName, SpatialPrefixTree grid, 
                                      int detailLevel, int prefixGridScanLevel, double queryBuffer)
            : base(queryShape, fieldName, grid, detailLevel, prefixGridScanLevel)
        {
            if (queryBuffer == -1)
            {
                bufferedQueryShape = null;
            }
            else
            {
                bufferedQueryShape = BufferShape(queryShape, queryBuffer);
            }
        }