C# Class Lucene.Net.Spatial.Prefix.Tree.GeohashPrefixTree

A SpatialPrefixGrid based on Geohashes. Uses {@link GeohashUtils} to do all the geohash work.
Inheritance: SpatialPrefixTree
Afficher le fichier Open project: apache/lucenenet Class Usage Examples

Méthodes publiques

Méthode Description
GeohashPrefixTree ( SpatialContext ctx, int maxLevels ) : Spatial4n.Core.Context
GetCell ( byte bytes, int offset, int len ) : Cell
GetCell ( string token ) : Cell
GetLevelForDistance ( double dist ) : int

Méthodes protégées

Méthode Description
GetCell ( IPoint p, int level ) : Cell

Method Details

GeohashPrefixTree() public méthode

public GeohashPrefixTree ( SpatialContext ctx, int maxLevels ) : Spatial4n.Core.Context
ctx Spatial4n.Core.Context.SpatialContext
maxLevels int
Résultat Spatial4n.Core.Context

GetCell() protected méthode

protected GetCell ( IPoint p, int level ) : Cell
p IPoint
level int
Résultat Cell

GetCell() public méthode

public GetCell ( byte bytes, int offset, int len ) : Cell
bytes byte
offset int
len int
Résultat Cell

GetCell() public méthode

public GetCell ( string token ) : Cell
token string
Résultat Cell

GetLevelForDistance() public méthode

public GetLevelForDistance ( double dist ) : int
dist double
Résultat int