GeoboundingBox GeoboundingBox GeoboundingBox GeoboundingBox GeoboundingBox Class

Definition

Represents a rectangle that defines a geographic area.

public : sealed class GeoboundingBox : IGeoboundingBox, IGeoshape
struct winrt::Windows::Devices::Geolocation::GeoboundingBox : IGeoboundingBox, IGeoshape
public sealed class GeoboundingBox : IGeoboundingBox, IGeoshape
Public NotInheritable Class GeoboundingBox Implements IGeoboundingBox, IGeoshape
var geoboundingBox = new geoboundingBox(northwestCorner, southeastCorner);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

Constructors

GeoboundingBox(BasicGeoposition, BasicGeoposition) GeoboundingBox(BasicGeoposition, BasicGeoposition) GeoboundingBox(BasicGeoposition, BasicGeoposition) GeoboundingBox(BasicGeoposition, BasicGeoposition) GeoboundingBox(BasicGeoposition, BasicGeoposition)

Initializes a new instance of the GeoboundingBox class that has the specified corners.

GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem)

Initializes a new instance of the GeoboundingBox class that has the specified corners and uses the specified altitude reference system.

GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, UInt32) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, UInt32) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, UInt32) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, UInt32) GeoboundingBox(BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, UInt32)

Initializes a new instance of the GeoboundingBox class that has the specified corners and uses the specified altitude reference system and spatial reference ID (SRID).

Properties

AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem AltitudeReferenceSystem

Gets the altitude reference system used by the GeoboundingBox.

Center Center Center Center Center

Gets the center of the GeoboundingBox.

GeoshapeType GeoshapeType GeoshapeType GeoshapeType GeoshapeType

Gets the type of geographic shape represented by the GeoboundingBox.

MaxAltitude MaxAltitude MaxAltitude MaxAltitude MaxAltitude

Gets the altitude of the highest corner of the GeoboundingBox.

MinAltitude MinAltitude MinAltitude MinAltitude MinAltitude

Gets the altitude of the lowest corner of the GeoboundingBox.

NorthwestCorner NorthwestCorner NorthwestCorner NorthwestCorner NorthwestCorner

Gets the northwest corner of the GeoboundingBox.

SoutheastCorner SoutheastCorner SoutheastCorner SoutheastCorner SoutheastCorner

Gets the southeast corner of the GeoboundingBox.

SpatialReferenceId SpatialReferenceId SpatialReferenceId SpatialReferenceId SpatialReferenceId

Gets the spatial reference ID (SRID) used by the GeoboundingBox.

Methods

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).

See Also