Windows Dev Center

Geocircle class

Describes a geographic circle with a center point and a radius.

Syntax


var geocircle = new Windows.Devices.Geolocation.Geocircle(basicGeoposition, double);
var geocircle = new Windows.Devices.Geolocation.Geocircle(basicGeoposition, double, altitudeReferenceSystem);
var geocircle = new Windows.Devices.Geolocation.Geocircle(basicGeoposition, double, altitudeReferenceSystem, uInt32);

Members

The Geocircle class has these types of members:

Constructors

The Geocircle class has these constructors.

ConstructorDescription
Geocircle(BasicGeoposition,Double) Create a geographic circle object for the given position and radius.
Geocircle(BasicGeoposition,Double,AltitudeReferenceSystem) Create a geographic circle object for the given position, radius and altitude reference system.
Geocircle(BasicGeoposition,Double,AltitudeReferenceSystem,UInt32) Create a geographic circle object for the given position, radius, altitude reference system, and spatial reference id.

 

Properties

The Geocircle class has these properties.

PropertyAccess typeDescription

AltitudeReferenceSystem

Read-onlyThe altitude reference system of the geographic circle.

Center

Read-onlyThe center point of a geographic circle.

GeoshapeType

Read-onlyThe type of geographic shape.

Radius

Read-onlyThe radius of a geographic circle in meters.

SpatialReferenceId

Read-onlyThe spatial reference identifier for the geographic circle, corresponding to a spatial reference system based on the specific ellipsoid used for either flat-earth mapping or round-earth mapping.

 

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1 [Windows Store apps, desktop apps]

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Version(0x06030000)]

See also

Object
IGeoshape

 

 

Show:
© 2015 Microsoft