Table of Contents

Class GeoJsonPolygon<TCoordinates>

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
GeoJsonObject<TCoordinates>
GeoJsonGeometry<TCoordinates>
GeoJsonPolygon<TCoordinates>
Inherited Members

Constructors

GeoJsonPolygon(GeoJsonObjectArgs<TCoordinates>, GeoJsonPolygonCoordinates<TCoordinates>)

Initializes a new instance of the GeoJsonPolygon<TCoordinates> class.

GeoJsonPolygon(GeoJsonPolygonCoordinates<TCoordinates>)

Initializes a new instance of the GeoJsonPolygon<TCoordinates> class.

Properties

Coordinates

Gets the coordinates.

Type

Gets the type of the GeoJson object.