Geopath 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示地理点的有序系列。
public ref class Geopath sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopathFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class Geopath final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Geolocation.IGeopathFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class Geopath final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopathFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class Geopath
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Geolocation.IGeopathFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class Geopath
function Geopath(positions, altitudeReferenceSystem, spatialReferenceId)
Public NotInheritable Class Geopath
- 继承
- 属性
- 实现
Windows 要求
设备系列 |
Windows 10 (在 10.0.10240.0 中引入)
|
API contract |
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
|
应用功能 |
location
|
构造函数
Geopath(IIterable<BasicGeoposition>) |
使用指定的位置集合初始化 Geopath 类的新实例。 |
Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem) |
使用指定的位置集合和指定的海拔参考系统初始化 Geopath 类的新实例。 |
Geopath(IIterable<BasicGeoposition>, AltitudeReferenceSystem, UInt32) |
使用指定的位置集合、指定的海拔参考系统和空间参考 ID (SRID) 初始化 Geopath 类的新实例。 |
属性
AltitudeReferenceSystem |
获取 Geopath 使用的海拔参考系统。 |
GeoshapeType |
获取 由 Geopath 表示的地理形状的类型。 |
Positions |
获取定义 Geopath 的地理点的集合。 |
SpatialReferenceId |
获取 geopath (SRID) 使用的空间引用 ID。 |