Click or drag to resize

GeodistanceOptions Class

Specifies the options to use for geo distance calculations. Supported with Sphinx 2.2.1 and up.
Inheritance Hierarchy
SystemObject
  SphinxConnector.FluentApiGeodistanceOptions

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
public class GeodistanceOptions

The GeodistanceOptions type exposes the following members.

Constructors
 NameDescription
Public methodGeodistanceOptionsInitializes a new instance of the GeodistanceOptions class
Top
Properties
 NameDescription
Public propertyCalculationMethod Determines the calculcation method for geo distances. If none is specified, Sphinx will use 'Haversine' in versions prior to 2.2.1 and 'Adaptive' starting with 2.2.1
Public propertyInputUnit Gets the input unit for geo distance calculations.
Public propertyOutputUnit Gets the output unit for geo distance calculations.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also