GeoboundingBox class

Applies to Windows Phone only

Represents a rectangle that defines a geographic area.

Syntax


var geoboundingBox = new Windows.Devices.Geolocation.GeoboundingBox(basicGeoposition, basicGeoposition);
var geoboundingBox = new Windows.Devices.Geolocation.GeoboundingBox(basicGeoposition, basicGeoposition, altitudeReferenceSystem);
var geoboundingBox = new Windows.Devices.Geolocation.GeoboundingBox(basicGeoposition, basicGeoposition, altitudeReferenceSystem, uInt32);

Attributes

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]

Members

The GeoboundingBox class has these types of members:

Constructors

The GeoboundingBox class has these constructors.

ConstructorDescription
GeoboundingBox(BasicGeoposition,BasicGeoposition) Initializes a new instance of the GeoboundingBox class that has the specified corners.
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) 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).

 

Methods

The GeoboundingBox class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
TryCompute(IIterable(BasicGeoposition)) Calculates a GeoboundingBox that contains the specified set of geographic positions.
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) Calculates a GeoboundingBox that contains the specified set of geographic positions and uses the specified altitude reference system and spatial reference ID (SRID).

 

Properties

The GeoboundingBox class has these properties.

PropertyAccess typeDescription

AltitudeReferenceSystem

Read-onlyGets the altitude reference system used by the GeoboundingBox.

Center

Read-onlyGets the center of the GeoboundingBox.

GeoshapeType

Read-onlyGets the type of geographic shape represented by the GeoboundingBox.

MaxAltitude

Read-onlyGets the altitude of the highest corner of the GeoboundingBox.

MinAltitude

Read-onlyGets the altitude of the lowest corner of the GeoboundingBox.

NorthwestCorner

Read-onlyGets the northwest corner of the GeoboundingBox.

SoutheastCorner

Read-onlyGets the southeast corner of the GeoboundingBox.

SpatialReferenceId

Read-onlyGets the spatial reference ID (SRID) used by the GeoboundingBox.

 

Requirements

Minimum supported client

None supported [Windows Store apps only]

Minimum supported server

None supported [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Devices.Geolocation
Windows::Devices::Geolocation [C++]

Metadata

Windows.winmd

See also

Object
IGeoshape

 

 

Show:
© 2014 Microsoft