Class QuadPrefixTree
  
  A SpatialPrefixTree which uses a
quad tree in which an
indexed term will be generated for each cell, 'A', 'B', 'C', 'D'.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
 
  
  
    Inheritance
    System.Object
    
    QuadPrefixTree
   
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
   
  
  Assembly: Lucene.Net.Spatial.dll
  Syntax
  
    public class QuadPrefixTree : SpatialPrefixTree
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  QuadPrefixTree(SpatialContext)
  
  
  Declaration
  
    public QuadPrefixTree(SpatialContext ctx)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Spatial4n.Core.Context.SpatialContext | 
        ctx | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  QuadPrefixTree(SpatialContext, IRectangle, Int32)
  
  
  Declaration
  
    public QuadPrefixTree(SpatialContext ctx, IRectangle bounds, int maxLevels)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Spatial4n.Core.Context.SpatialContext | 
        ctx | 
         | 
      
      
        | Spatial4n.Core.Shapes.IRectangle | 
        bounds | 
         | 
      
      
        | System.Int32 | 
        maxLevels | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  QuadPrefixTree(SpatialContext, Int32)
  
  
  Declaration
  
    public QuadPrefixTree(SpatialContext ctx, int maxLevels)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Spatial4n.Core.Context.SpatialContext | 
        ctx | 
         | 
      
      
        | System.Int32 | 
        maxLevels | 
         | 
      
    
  
  Fields
  
  
    |
    Improve this Doc
  
  
    View Source
  
  DEFAULT_MAX_LEVELS
  
  
  Declaration
  
    public const int DEFAULT_MAX_LEVELS = 12
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  MAX_LEVELS_POSSIBLE
  
  
  Declaration
  
    public const int MAX_LEVELS_POSSIBLE = 50
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GridH
  
  
  Declaration
  
    public double GridH { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Double | 
         | 
      
    
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetCell(IPoint, Int32)
  
  
  Declaration
  
    protected override Cell GetCell(IPoint p, int level)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | Spatial4n.Core.Shapes.IPoint | 
        p | 
         | 
      
      
        | System.Int32 | 
        level | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetCell(Byte[], Int32, Int32)
  
  
  Declaration
  
    public override Cell GetCell(byte[] bytes, int offset, int len)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Byte[] | 
        bytes | 
         | 
      
      
        | System.Int32 | 
        offset | 
         | 
      
      
        | System.Int32 | 
        len | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetCell(String)
  
  
  Declaration
  
    public override Cell GetCell(string token)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        token | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetLevelForDistance(Double)
  
  
  Declaration
  
    public override int GetLevelForDistance(double dist)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Double | 
        dist | 
         | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  PrintInfo(TextWriter)
  
  
  Declaration
  
    public virtual void PrintInfo(TextWriter out)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.IO.TextWriter | 
        out | 
         |