C# 클래스 SensorbergSDK.NGeoHash.GeoHash

파일 보기 프로젝트 열기: sensorberg-dev/windows10-sdk

공개 프로퍼티들

프로퍼티 타입 설명
Base32CodesDict int>.Dictionary

공개 메소드들

메소드 설명
Bboxes ( double minLat, double minLon, double maxLat, double maxLon, int numberOfChars = 9 ) : string[]
BboxesInt ( double minLat, double minLon, double maxLat, double maxLon, int bitDepth = 52 ) : long[]
Decode ( string hashString ) : GeohashDecodeResult
DecodeBbox ( string hashString ) : double[]
DecodeBboxInt ( long hashInt, int bitDepth = 52 ) : double[]
DecodeInt ( long hashInt, int bitDepth = 52 ) : GeohashDecodeResult
Encode ( double latitude, double longitude, int numberOfChars = 9 ) : string
EncodeInt ( double latitude, double longitude, int bitDepth = 52 ) : long
EncodeNeighbor ( int hashstringLength, int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords ) : string
EncodeNeighborInt ( int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords, int bitDepth ) : long
Neighbor ( string hashString, int direction ) : string
NeighborInt ( long hashInt, int direction, int bitDepth = 52 ) : long
Neighbors ( string hashString ) : string[]
NeighborsInt ( long hashInt, int bitDepth = 52 ) : long[]
get_bit ( long bits, int position ) : long

비공개 메소드들

메소드 설명
GeoHash ( ) : System

메소드 상세

Bboxes() 공개 정적인 메소드

public static Bboxes ( double minLat, double minLon, double maxLat, double maxLon, int numberOfChars = 9 ) : string[]
minLat double
minLon double
maxLat double
maxLon double
numberOfChars int
리턴 string[]

BboxesInt() 공개 정적인 메소드

public static BboxesInt ( double minLat, double minLon, double maxLat, double maxLon, int bitDepth = 52 ) : long[]
minLat double
minLon double
maxLat double
maxLon double
bitDepth int
리턴 long[]

Decode() 공개 정적인 메소드

public static Decode ( string hashString ) : GeohashDecodeResult
hashString string
리턴 GeohashDecodeResult

DecodeBbox() 공개 정적인 메소드

public static DecodeBbox ( string hashString ) : double[]
hashString string
리턴 double[]

DecodeBboxInt() 공개 정적인 메소드

public static DecodeBboxInt ( long hashInt, int bitDepth = 52 ) : double[]
hashInt long
bitDepth int
리턴 double[]

DecodeInt() 공개 정적인 메소드

public static DecodeInt ( long hashInt, int bitDepth = 52 ) : GeohashDecodeResult
hashInt long
bitDepth int
리턴 GeohashDecodeResult

Encode() 공개 정적인 메소드

public static Encode ( double latitude, double longitude, int numberOfChars = 9 ) : string
latitude double
longitude double
numberOfChars int
리턴 string

EncodeInt() 공개 정적인 메소드

public static EncodeInt ( double latitude, double longitude, int bitDepth = 52 ) : long
latitude double
longitude double
bitDepth int
리턴 long

EncodeNeighbor() 공개 정적인 메소드

public static EncodeNeighbor ( int hashstringLength, int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords ) : string
hashstringLength int
neighborLatDir int
neighborLonDir int
coords GeohashDecodeResult
리턴 string

EncodeNeighborInt() 공개 정적인 메소드

public static EncodeNeighborInt ( int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords, int bitDepth ) : long
neighborLatDir int
neighborLonDir int
coords GeohashDecodeResult
bitDepth int
리턴 long

Neighbor() 공개 정적인 메소드

public static Neighbor ( string hashString, int direction ) : string
hashString string
direction int
리턴 string

NeighborInt() 공개 정적인 메소드

public static NeighborInt ( long hashInt, int direction, int bitDepth = 52 ) : long
hashInt long
direction int
bitDepth int
리턴 long

Neighbors() 공개 정적인 메소드

public static Neighbors ( string hashString ) : string[]
hashString string
리턴 string[]

NeighborsInt() 공개 정적인 메소드

public static NeighborsInt ( long hashInt, int bitDepth = 52 ) : long[]
hashInt long
bitDepth int
리턴 long[]

get_bit() 공개 정적인 메소드

public static get_bit ( long bits, int position ) : long
bits long
position int
리턴 long

프로퍼티 상세

Base32CodesDict 공개적으로 정적으로 프로퍼티

public static Dictionary Base32CodesDict
리턴 int>.Dictionary