GeoJsonPolygonCoordinatesTCoordinates Method (GeoJsonLinearRingCoordinatesTCoordinates, GeoJsonLinearRingCoordinatesTCoordinates) |
Creates the coordinates of a GeoJson Polygon object.
Namespace:
MongoDB.Driver.GeoJsonObjectModel
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.5.0+57.Branch.master.Sha.6a4e00a2d91090c65a9b11364b9ebfdb9c7da076
Syntax public static GeoJsonPolygonCoordinates<TCoordinates> PolygonCoordinates<TCoordinates>(
GeoJsonLinearRingCoordinates<TCoordinates> exterior,
params GeoJsonLinearRingCoordinates<TCoordinates>[] holes
)
where TCoordinates : GeoJsonCoordinates
Public Shared Function PolygonCoordinates(Of TCoordinates As GeoJsonCoordinates) (
exterior As GeoJsonLinearRingCoordinates(Of TCoordinates),
ParamArray holes As GeoJsonLinearRingCoordinates(Of TCoordinates)()
) As GeoJsonPolygonCoordinates(Of TCoordinates)
static member PolygonCoordinates :
exterior : GeoJsonLinearRingCoordinates<'TCoordinates> *
holes : GeoJsonLinearRingCoordinates<'TCoordinates>[] -> GeoJsonPolygonCoordinates<'TCoordinates> when 'TCoordinates : GeoJsonCoordinates
Parameters
- exterior
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonLinearRingCoordinatesTCoordinates
The exterior. - holes
- Type: MongoDB.Driver.GeoJsonObjectModelGeoJsonLinearRingCoordinatesTCoordinates
The holes.
Type Parameters
- TCoordinates
- The type of the coordinates.
Return Value
Type:
GeoJsonPolygonCoordinatesTCoordinatesThe coordinates of a GeoJson Polygon object.
See Also