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.17.0+b316340e6cc3a8bfc8638dc31b54fbbfe41bfcb2
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