Table of Contents

Constructor GeoJsonPolygon

Namespace
MongoDB.Driver.GeoJsonObjectModel
Assembly
MongoDB.Driver.dll

GeoJsonPolygon(GeoJsonPolygonCoordinates<TCoordinates>)

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

public GeoJsonPolygon(GeoJsonPolygonCoordinates<TCoordinates> coordinates)

Parameters

coordinates GeoJsonPolygonCoordinates<TCoordinates>

The coordinates.

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

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

public GeoJsonPolygon(GeoJsonObjectArgs<TCoordinates> args, GeoJsonPolygonCoordinates<TCoordinates> coordinates)

Parameters

args GeoJsonObjectArgs<TCoordinates>

The additional args.

coordinates GeoJsonPolygonCoordinates<TCoordinates>

The coordinates.