HilbertQuery Class | ![]() |
Namespace: Telogis.GeoBase.Indexes
The HilbertQuery type exposes the following members.
Name | Description | |
---|---|---|
![]() | QueryBox |
The area to be queried, as a BoundingBox.
|
![]() | Ranges |
The ranges which should be queried.
|
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.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
// 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)); // Create a Hilbert query with a maximum of 128 ranges. HilbertQuery hil_query = hilb_index.Query(b_box, 128);