Skip to main content

NearGeospatialFilter

Namespace: Meshmakers.Octo.Runtime.Contracts.Repositories.Query

Represents a filter value for a near field search

public class NearGeospatialFilter : GeospatialFilter

Inheritance ObjectGeospatialFilterNearGeospatialFilter

Properties

Point

The point to search for

public Point Point { get; }

Property Value

Point

MaxDistance

The maximum distance from the center point that the documents can be.

public Nullable<double> MaxDistance { get; }

Property Value

Nullable<Double>

MinDistance

The minimum distance from the center point that the documents can be

public Nullable<double> MinDistance { get; }

Property Value

Nullable<Double>

AttributeName

The attribute name to search for

public string AttributeName { get; set; }

Property Value

String

Constructors

NearGeospatialFilter(String, Point, Nullable<Double>, Nullable<Double>)

Creates a new instance of NearGeospatialFilter

public NearGeospatialFilter(string attributeName, Point point, Nullable<double> minDistance, Nullable<double> maxDistance)

Parameters

attributeName String
The name of the attribute to compare

point Point
Point to search for

minDistance Nullable<Double>
The minimum distance from the center point that the documents can be.

maxDistance Nullable<Double>
The maximum distance from the center point that the documents can be.