Click or drag to resize

FilterDefinitionBuilderTDocumentGeoWithinBox Method (FieldDefinitionTDocument, Double, Double, Double, Double)

Creates a geo within box filter.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public FilterDefinition<TDocument> GeoWithinBox(
	FieldDefinition<TDocument> field,
	double lowerLeftX,
	double lowerLeftY,
	double upperRightX,
	double upperRightY
)

Parameters

field
Type: MongoDB.DriverFieldDefinitionTDocument
The field.
lowerLeftX
Type: SystemDouble
The lower left x.
lowerLeftY
Type: SystemDouble
The lower left y.
upperRightX
Type: SystemDouble
The upper right x.
upperRightY
Type: SystemDouble
The upper right y.

Return Value

Type: FilterDefinitionTDocument
A geo within box filter.
See Also