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.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
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