C# 클래스 Lucene.Net.Spatial.Prefix.Tree.GeohashPrefixTree

A SpatialPrefixGrid based on Geohashes. Uses {@link GeohashUtils} to do all the geohash work.
상속: SpatialPrefixTree
파일 보기 프로젝트 열기: apache/lucenenet 1 사용 예제들

공개 메소드들

메소드 설명
GeohashPrefixTree ( SpatialContext ctx, int maxLevels ) : Spatial4n.Core.Context
GetCell ( byte bytes, int offset, int len ) : Cell
GetCell ( string token ) : Cell
GetLevelForDistance ( double dist ) : int

보호된 메소드들

메소드 설명
GetCell ( IPoint p, int level ) : Cell

메소드 상세

GeohashPrefixTree() 공개 메소드

public GeohashPrefixTree ( SpatialContext ctx, int maxLevels ) : Spatial4n.Core.Context
ctx Spatial4n.Core.Context.SpatialContext
maxLevels int
리턴 Spatial4n.Core.Context

GetCell() 보호된 메소드

protected GetCell ( IPoint p, int level ) : Cell
p IPoint
level int
리턴 Cell

GetCell() 공개 메소드

public GetCell ( byte bytes, int offset, int len ) : Cell
bytes byte
offset int
len int
리턴 Cell

GetCell() 공개 메소드

public GetCell ( string token ) : Cell
token string
리턴 Cell

GetLevelForDistance() 공개 메소드

public GetLevelForDistance ( double dist ) : int
dist double
리턴 int