C# Class SensorbergSDK.NGeoHash.GeoHash

Afficher le fichier Open project: sensorberg-dev/windows10-sdk

Méthodes publiques

Свойство Type Description
Base32CodesDict int>.Dictionary

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GeoHash ( ) : System

Method Details

Bboxes() public static méthode

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
Résultat string[]

BboxesInt() public static méthode

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
Résultat long[]

Decode() public static méthode

public static Decode ( string hashString ) : GeohashDecodeResult
hashString string
Résultat GeohashDecodeResult

DecodeBbox() public static méthode

public static DecodeBbox ( string hashString ) : double[]
hashString string
Résultat double[]

DecodeBboxInt() public static méthode

public static DecodeBboxInt ( long hashInt, int bitDepth = 52 ) : double[]
hashInt long
bitDepth int
Résultat double[]

DecodeInt() public static méthode

public static DecodeInt ( long hashInt, int bitDepth = 52 ) : GeohashDecodeResult
hashInt long
bitDepth int
Résultat GeohashDecodeResult

Encode() public static méthode

public static Encode ( double latitude, double longitude, int numberOfChars = 9 ) : string
latitude double
longitude double
numberOfChars int
Résultat string

EncodeInt() public static méthode

public static EncodeInt ( double latitude, double longitude, int bitDepth = 52 ) : long
latitude double
longitude double
bitDepth int
Résultat long

EncodeNeighbor() public static méthode

public static EncodeNeighbor ( int hashstringLength, int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords ) : string
hashstringLength int
neighborLatDir int
neighborLonDir int
coords GeohashDecodeResult
Résultat string

EncodeNeighborInt() public static méthode

public static EncodeNeighborInt ( int neighborLatDir, int neighborLonDir, GeohashDecodeResult coords, int bitDepth ) : long
neighborLatDir int
neighborLonDir int
coords GeohashDecodeResult
bitDepth int
Résultat long

Neighbor() public static méthode

public static Neighbor ( string hashString, int direction ) : string
hashString string
direction int
Résultat string

NeighborInt() public static méthode

public static NeighborInt ( long hashInt, int direction, int bitDepth = 52 ) : long
hashInt long
direction int
bitDepth int
Résultat long

Neighbors() public static méthode

public static Neighbors ( string hashString ) : string[]
hashString string
Résultat string[]

NeighborsInt() public static méthode

public static NeighborsInt ( long hashInt, int bitDepth = 52 ) : long[]
hashInt long
bitDepth int
Résultat long[]

get_bit() public static méthode

public static get_bit ( long bits, int position ) : long
bits long
position int
Résultat long

Property Details

Base32CodesDict public_oe static_oe property

public static Dictionary Base32CodesDict
Résultat int>.Dictionary