Skip to main content

NearGeospatialFilterDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Represents a filter value for a near field search

public class NearGeospatialFilterDto : IGeospatialFilterDto

Inheritance Object → NearGeospatialFilterDto
Implements IGeospatialFilterDto

Properties​

Point​

The point to search for

public PointDto Point { get; set; }

Property Value​

PointDto

MaxDistance​

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

public Nullable<double> MaxDistance { get; set; }

Property Value​

Nullable<Double>

MinDistance​

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

public Nullable<double> MinDistance { get; set; }

Property Value​

Nullable<Double>

AttributeName​

public string AttributeName { get; set; }

Property Value​

String

Constructors​

NearGeospatialFilterDto(String, PointDto, Nullable<Double>, Nullable<Double>)​

Creates a new instance of NearGeospatialFilterDto

public NearGeospatialFilterDto(string attributeName, PointDto point, Nullable<double> minDistance, Nullable<double> maxDistance)

Parameters​

attributeName String
The name of the attribute to compare

point PointDto
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.

NearGeospatialFilterDto()​

Initializes a new instance of the NearGeospatialFilterDto class.

public NearGeospatialFilterDto()