Click or drag to resize

HilbertIndex Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
HilbertIndex provides a location, in the form of an integer value, when given a LatLon or BoundingBox.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.IndexesHilbertIndex

Namespace:  Telogis.GeoBase.Indexes
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public class HilbertIndex

The HilbertIndex type exposes the following members.

Constructors
  NameDescription
Public methodHilbertIndex
Initializes a new instance of the HilbertIndex class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetKey(BoundingBox)
Retrieves the index key value for a BoundingBox.
Public methodGetKey(LatLon)
Retrieves the index key value for a LatLon.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodQuery(BoundingBox, Int32)
Retrieves ranges of index key values for a BoundingBox up to the maximum number of ranges specified.
Public methodQuery(LatLon, Int32)
Retrieves ranges of index key values for a LatLon up to the maximum number of ranges specified.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
Examples
Generating a numeric value for a LatLon point:
C#
// 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);
or a BoundingBox area:
C#
// 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);
See Also