FilterDefinitionBuilder(TDocument).GeoWithinCenterSphere Method (FieldDefinition(TDocument), Double, Double, Double) (original) (raw)

FilterDefinitionBuilderTDocumentGeoWithinCenterSphere Method (FieldDefinitionTDocument, Double, Double, Double)

Creates a geo within center sphere filter.

Namespace: MongoDB.Driver
Assembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

public FilterDefinition GeoWithinCenterSphere( FieldDefinition field, double x, double y, double radius )

Public Function GeoWithinCenterSphere ( field As FieldDefinition(Of TDocument), x As Double, y As Double, radius As Double ) As FilterDefinition(Of TDocument)

member GeoWithinCenterSphere : field : FieldDefinition<'TDocument> * x : float * y : float * radius : float -> FilterDefinition<'TDocument>

Parameters

field

Type: MongoDB.DriverFieldDefinitionTDocument
The field.

x

Type: SystemDouble
The x.

y

Type: SystemDouble
The y.

radius

Type: SystemDouble
The radius.

Return Value

Type: FilterDefinitionTDocument
A geo within center sphere filter.

See Also

Reference