Method BoundingBox
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
BoundingBox<TCoordinates>(TCoordinates, TCoordinates)
Creates a GeoJson bounding box.
public static GeoJsonBoundingBox<TCoordinates> BoundingBox<TCoordinates>(TCoordinates min, TCoordinates max) where TCoordinates : GeoJsonCoordinates
Parameters
min
TCoordinatesThe min.
max
TCoordinatesThe max.
Returns
- GeoJsonBoundingBox<TCoordinates>
A GeoJson bounding box.
Type Parameters
TCoordinates
The type of the coordinates.