GeoboundingBox.TryCompute GeoboundingBox.TryCompute GeoboundingBox.TryCompute GeoboundingBox.TryCompute GeoboundingBox.TryCompute Method

Definition

Overloads

TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>)

Calculates a GeoboundingBox that contains the specified set of geographic positions.

TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem)

Calculates a GeoboundingBox that contains the specified set of geographic positions and uses the specified altitude reference system.

TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32)

Calculates a GeoboundingBox that contains the specified set of geographic positions and uses the specified altitude reference system and spatial reference ID (SRID).

TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>) TryCompute(IIterable<BasicGeoposition>)

Calculates a GeoboundingBox that contains the specified set of geographic positions.

public : static GeoboundingBox TryCompute(IIterable<BasicGeoposition> positions)
static GeoboundingBox TryCompute(IIterable<BasicGeoposition> positions) const;
public static GeoboundingBox TryCompute(IEnumerable<BasicGeoposition> positions)
Public Shared Function TryCompute(positions As IEnumerable(Of BasicGeoposition)) As GeoboundingBox
var geoboundingBox = Windows.Devices.Geolocation.GeoboundingBox.tryCompute(positions);

Parameters

positions
IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

A collection of geographic positions to include inside the GeoboundingBox.

Returns

The calculated rectangle that contains the specified set of geographic positions.

Additional features and requirements

Capabilities
location
See also

TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem)

Calculates a GeoboundingBox that contains the specified set of geographic positions and uses the specified altitude reference system.

public : static GeoboundingBox TryCompute(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeRefSystem)
static GeoboundingBox TryCompute(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeRefSystem) const;
public static GeoboundingBox TryCompute(IEnumerable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeRefSystem)
Public Shared Function TryCompute(positions As IEnumerable(Of BasicGeoposition), altitudeRefSystem As AltitudeReferenceSystem) As GeoboundingBox
var geoboundingBox = Windows.Devices.Geolocation.GeoboundingBox.tryCompute(positions, altitudeRefSystem);

Parameters

positions
IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

A collection of geographic positions to include inside the GeoboundingBox.

altitudeRefSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system to use for the GeoboundingBox. For more info, see the AltitudeReferenceSystem property.

Returns

The calculated rectangle that contains the specified set of geographic positions.

Additional features and requirements

Capabilities
location
See also

TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) TryCompute(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32)

Calculates a GeoboundingBox that contains the specified set of geographic positions and uses the specified altitude reference system and spatial reference ID (SRID).

public : static GeoboundingBox TryCompute(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeRefSystem, unsigned int spatialReferenceId)
static GeoboundingBox TryCompute(IIterable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeRefSystem, uint32_t spatialReferenceId) const;
public static GeoboundingBox TryCompute(IEnumerable<BasicGeoposition> positions, AltitudeReferenceSystem altitudeRefSystem, UInt32 spatialReferenceId)
Public Shared Function TryCompute(positions As IEnumerable(Of BasicGeoposition), altitudeRefSystem As AltitudeReferenceSystem, spatialReferenceId As UInt32) As GeoboundingBox
var geoboundingBox = Windows.Devices.Geolocation.GeoboundingBox.tryCompute(positions, altitudeRefSystem, spatialReferenceId);

Parameters

positions
IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition> IEnumerable<BasicGeoposition>

A collection of geographic positions to include inside the GeoboundingBox.

altitudeRefSystem
AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

The altitude reference system to use for the GeoboundingBox. For more info, see the AltitudeReferenceSystem property.

spatialReferenceId
UInt32 UInt32 UInt32

The spatial reference ID (SRID) to use for the GeoboundingBox. For more info, see the SpatialReferenceId property.

Returns

The calculated rectangle that contains the specified set of geographic positions.

Additional features and requirements

Capabilities
location
See also