Class GeoJsonPolygonCoordinates

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver.GeoJsonObjectModel

Assembly

MongoDB.Driver.dll

Represents the coordinates of a GeoJson Polygon object.

[BsonSerializer(typeof(GeoJsonPolygonCoordinatesSerializer<>))]
public class GeoJsonPolygonCoordinates<TCoordinates> where TCoordinates : GeoJsonCoordinates

Type Parameters

TCoordinates

The type of the coordinates.

Inheritance

GeoJsonPolygonCoordinates

Inherited Members

Constructors

GeoJsonPolygonCoordinates(GeoJsonLinearRingCoordinates)

Initializes a new instance of the GeoJsonPolygonCoordinates class.

GeoJsonPolygonCoordinates(GeoJsonLinearRingCoordinates, IEnumerable<GeoJsonLinearRingCoordinates>)

Initializes a new instance of the GeoJsonPolygonCoordinates class.

Properties

Exterior

Gets the exterior.

Holes

Gets the holes.