GeoJsonPolygonCoordinatesTCoordinates Method (GeoJsonLinearRingCoordinatesTCoordinates, GeoJsonLinearRingCoordinatesTCoordinates) |
Creates the coordinates of a GeoJson Polygon object.
Namespace: MongoDB.Driver.GeoJsonObjectModelAssembly: MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.2.0
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