Class GeoJsonPolygon
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Driver.GeoJsonObjectModel
Assembly
MongoDB.Driver.dll
Represents a GeoJson Polygon object.
[BsonSerializer(typeof(GeoJsonPolygonSerializer<>))]
public class GeoJsonPolygon<TCoordinates> : GeoJsonGeometry<TCoordinates> where TCoordinates : GeoJsonCoordinates
Type Parameters
TCoordinates
The type of the coordinates.
Inheritance
GeoJsonPolygon
Inherited Members
Constructors
GeoJsonPolygon(GeoJsonObjectArgs, GeoJsonPolygonCoordinates)
Initializes a new instance of the GeoJsonPolygon class.
GeoJsonPolygon(GeoJsonPolygonCoordinates)
Initializes a new instance of the GeoJsonPolygon class.
Properties
Gets the coordinates.
Gets the type of the GeoJson object.