共用方式為


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)

為指定的位置、半徑、高度參考系統和空間參考識別碼建立地理圓形物件。

屬性

AltitudeReferenceSystem

地理圓形的高度參考系統。

Center

地理圓形的中心點。

GeoshapeType

地理圖形的類型。

Radius

以公尺為單位的地理圓形半徑。

SpatialReferenceId

地理圓形的空間參考識別碼,會根據用於平面對應或圓地球對應的特定橢圓體,對應至空間參考系統。

適用於

另請參閱