Partilhar via


GeoPolygon Construtores

Definição

Sobrecargas

GeoPolygon(IEnumerable<GeoLinearRing>)

Inicializa a nova instância do GeoPolygon.

GeoPolygon(IEnumerable<GeoPosition>)

Inicializa a nova instância do GeoPolygon.

GeoPolygon(IEnumerable<GeoLinearRing>, GeoBoundingBox, IReadOnlyDictionary<String,Object>)

Inicializa a nova instância do GeoPolygon.

GeoPolygon(IEnumerable<GeoLinearRing>)

Origem:
GeoPolygon.cs

Inicializa a nova instância do GeoPolygon.

public GeoPolygon (System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoLinearRing> rings);
new Azure.Core.GeoJson.GeoPolygon : seq<Azure.Core.GeoJson.GeoLinearRing> -> Azure.Core.GeoJson.GeoPolygon
Public Sub New (rings As IEnumerable(Of GeoLinearRing))

Parâmetros

rings
IEnumerable<GeoLinearRing>

A coleção de anéis que compõem o polígono, o primeiro anel é o anel externo que outros são anéis internos.

Aplica-se a

GeoPolygon(IEnumerable<GeoPosition>)

Origem:
GeoPolygon.cs

Inicializa a nova instância do GeoPolygon.

public GeoPolygon (System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoPosition> positions);
new Azure.Core.GeoJson.GeoPolygon : seq<Azure.Core.GeoJson.GeoPosition> -> Azure.Core.GeoJson.GeoPolygon
Public Sub New (positions As IEnumerable(Of GeoPosition))

Parâmetros

positions
IEnumerable<GeoPosition>

As posições que compõem o anel externo do polígono.

Aplica-se a

GeoPolygon(IEnumerable<GeoLinearRing>, GeoBoundingBox, IReadOnlyDictionary<String,Object>)

Origem:
GeoPolygon.cs

Inicializa a nova instância do GeoPolygon.

public GeoPolygon (System.Collections.Generic.IEnumerable<Azure.Core.GeoJson.GeoLinearRing> rings, Azure.Core.GeoJson.GeoBoundingBox? boundingBox, System.Collections.Generic.IReadOnlyDictionary<string,object?> customProperties);
new Azure.Core.GeoJson.GeoPolygon : seq<Azure.Core.GeoJson.GeoLinearRing> * Azure.Core.GeoJson.GeoBoundingBox * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Azure.Core.GeoJson.GeoPolygon
Public Sub New (rings As IEnumerable(Of GeoLinearRing), boundingBox As GeoBoundingBox, customProperties As IReadOnlyDictionary(Of String, Object))

Parâmetros

rings
IEnumerable<GeoLinearRing>

A coleção de anéis que compõem o polígono, o primeiro anel é o anel externo que outros são anéis internos.

boundingBox
GeoBoundingBox

O GeoBoundingBox a ser usado.

customProperties
IReadOnlyDictionary<String,Object>

O conjunto de propriedades personalizadas associadas ao GeoObject.

Aplica-se a