HilbertIndex Class |
Namespace: Telogis.GeoBase.Indexes
The HilbertIndex type exposes the following members.
Name | Description | |
---|---|---|
HilbertIndex | Initializes a new instance of the HilbertIndex class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKey(BoundingBox) |
Retrieves the index key value for a BoundingBox.
| |
GetKey(LatLon) |
Retrieves the index key value for a LatLon.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Query(BoundingBox, Int32) |
Retrieves ranges of index key values for a BoundingBox up to the maximum number of ranges specified.
| |
Query(LatLon, Int32) |
Retrieves ranges of index key values for a LatLon up to the maximum number of ranges specified.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Related articles: Indexing External Spatial Data.
// Create a HilbertIndex object HilbertIndex hilb_index = new HilbertIndex(); // Create a LatLon LatLon lat_lon = new LatLon(33, -118); // Generate a numeric value for the LatLon ulong ll_key = hilb_index.GetKey(lat_lon);
// Create a HilbertIndex object HilbertIndex hilb_index = new HilbertIndex(); // Create a BoundingBox BoundingBox b_box = new BoundingBox(); b_box.Add(new LatLon(33.976473, -118.348352)); b_box.Add(new LatLon(33.943459, -118.325526)); // Generate a numeric value for the BoundingBox ulong box_key = hilb_index.GetKey(b_box);