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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
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