Geocircle Class

Definition

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

public ref class Geocircle sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeocircleFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class Geocircle final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeocircleFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class Geocircle final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeocircleFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class Geocircle
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeocircleFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class Geocircle
function Geocircle(position, radius, altitudeReferenceSystem, spatialReferenceId)
Public NotInheritable Class Geocircle
Inheritance
Object IInspectable Geocircle
Attributes
Implements

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
location

Constructors

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

AltitudeReferenceSystem

The altitude reference system of the geographic circle.

Center

The center point of a geographic circle.

GeoshapeType

The type of geographic shape.

Radius

The radius of a geographic circle in meters.

SpatialReferenceId

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

Applies to

See also