PlanetaryComputerModelFactory.PolygonGeometry Method

Definition

Represents a Polygon.

public static Azure.Analytics.PlanetaryComputer.PolygonGeometry PolygonGeometry(System.Collections.Generic.IEnumerable<float> boundingBox = default, System.Collections.Generic.IEnumerable<System.Collections.Generic.IList<System.Collections.Generic.IList<float>>> coordinates = default);
static member PolygonGeometry : seq<single> * seq<System.Collections.Generic.IList<System.Collections.Generic.IList<single>>> -> Azure.Analytics.PlanetaryComputer.PolygonGeometry
Public Shared Function PolygonGeometry (Optional boundingBox As IEnumerable(Of Single) = Nothing, Optional coordinates As IEnumerable(Of IList(Of IList(Of Single))) = Nothing) As PolygonGeometry

Parameters

boundingBox
IEnumerable<Single>

Optional bounding box of the geometry.

coordinates
IEnumerable<IList<IList<Single>>>

The coordinates of the polygon.

Returns

A new PolygonGeometry instance for mocking.

Applies to