FilterDefinitionBuilderTDocumentGeoWithinCenterSphere Method (ExpressionFuncTDocument, Object, Double, Double, Double) |
Creates a geo within center sphere filter.
Namespace:
MongoDB.Driver
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.8.0+cc573f3e1f48f39162b4b680e921a623e127e8fa
Syntax public FilterDefinition<TDocument> GeoWithinCenterSphere(
Expression<Func<TDocument, Object>> field,
double x,
double y,
double radius
)
Public Function GeoWithinCenterSphere (
field As Expression(Of Func(Of TDocument, Object)),
x As Double,
y As Double,
radius As Double
) As FilterDefinition(Of TDocument)
member GeoWithinCenterSphere :
field : Expression<Func<'TDocument, Object>> *
x : float *
y : float *
radius : float -> FilterDefinition<'TDocument>
Parameters
- field
- Type: System.Linq.ExpressionsExpressionFuncTDocument, Object
The field. - x
- Type: SystemDouble
The x. - y
- Type: SystemDouble
The y. - radius
- Type: SystemDouble
The radius.
Return Value
Type:
FilterDefinitionTDocumentA geo within center sphere filter.
See Also