Class GeoJsonBoundingBox<TCoordinates>
- Namespace
- MongoDB.Driver.GeoJsonObjectModel
- Assembly
- MongoDB.Driver.dll
Represents a GeoJson bounding box.
[BsonSerializer(typeof(GeoJsonBoundingBoxSerializer<>))]
public class GeoJsonBoundingBox<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
- Inheritance
-
GeoJsonBoundingBox<TCoordinates>
- Inherited Members
Constructors
GeoJsonBoundingBox(TCoordinates, TCoordinates)
Initializes a new instance of the GeoJsonBoundingBox<TCoordinates> class.
public GeoJsonBoundingBox(TCoordinates min, TCoordinates max)
Parameters
min
TCoordinatesThe min.
max
TCoordinatesThe max.
Properties
Max
Gets the max.
public TCoordinates Max { get; }
Property Value
- TCoordinates
Min
Gets the min.
public TCoordinates Min { get; }
Property Value
- TCoordinates