Click or drag to resize

HilbertRange Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
HilbertRange identifies the maximum and minimum values in the ranges retrieved by a HilbertQuery.
Inheritance Hierarchy
SystemObject
  Telogis.GeoBase.IndexesHilbertRange

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

The HilbertRange type exposes the following members.

Properties
  NameDescription
Public propertyHigh
The maximum value of the range.
Public propertyLow
The minimum value of the range.
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 methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Examples
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));
// Create a Hilbert query with a maximum of 128 ranges.
HilbertQuery hil_query = hilb_index.Query(b_box, 128);
StringBuilder my_out = new StringBuilder();
// Use HilbertRange to locate the low and high values of the ranges.
foreach (HilbertRange range in hil_query.Ranges)
{
    my_out.AppendFormat("The minimum value of this returned range is {0} and the maximum {1}.", range.Low, range.High);
}
// Write the ranges to the console
Console.WriteLine(my_out);
See Also