geo Within Box
fun <T> KProperty<T?>.geoWithinBox(lowerLeftX: Double, lowerLeftY: Double, upperRightX: Double, upperRightY: Double): Bson
Creates a filter that matches all documents containing a property with grid coordinates data that exist entirely within the specified box.
Return
the filter
Parameters
lower Left X
the lower left x coordinate of the box
lower Left Y
the lower left y coordinate of the box
upper Right X
the upper left x coordinate of the box
upper Right Y
the upper left y coordinate of the box
fun <T> geoWithinBox(property: KProperty<T?>, lowerLeftX: Double, lowerLeftY: Double, upperRightX: Double, upperRightY: Double): Bson
Creates a filter that matches all documents containing a property with grid coordinates data that exist entirely within the specified box.
Return
the filter
Parameters
property
the data class property
lower Left X
the lower left x coordinate of the box
lower Left Y
the lower left y coordinate of the box
upper Right X
the upper left x coordinate of the box
upper Right Y
the upper left y coordinate of the box