Geocircle 类

定义

描述具有中心点和半径的地理圆。

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
继承
Object Platform::Object IInspectable Geocircle
属性
实现

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
location

构造函数

Geocircle(BasicGeoposition, Double)

为给定位置和半径创建地理圆对象。

Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem)

为给定的位置、半径和海拔参考系统创建地理圆对象。

Geocircle(BasicGeoposition, Double, AltitudeReferenceSystem, UInt32)

为给定的位置、半径、海拔参考系统和空间参考 ID 创建地理圆对象。

属性

AltitudeReferenceSystem

地理圆的海拔参考系统。

Center

地理圆的中心点。

GeoshapeType

地理形状的类型。

Radius

地理圆的半径(以米为单位)。

SpatialReferenceId

地理圆的空间参考标识符,对应于基于用于平面映射或圆地映射的特定椭圆体的空间参考系统。

适用于

另请参阅