winrt-Windows.Perception.Spatial 4!10.0.28000.2705.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,51 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "SpatialAnchorExportPurpose",
10
+ "SpatialEntityWatcherStatus",
11
+ "SpatialLocatability",
12
+ "SpatialLookDirectionRange",
13
+ "SpatialMovementRange",
14
+ "SpatialPerceptionAccessStatus",
15
+ "SpatialBoundingBox",
16
+ "SpatialBoundingFrustum",
17
+ "SpatialBoundingOrientedBox",
18
+ "SpatialBoundingSphere",
19
+ "SpatialRay",
20
+ "SpatialAnchor",
21
+ "SpatialAnchorExportSufficiency",
22
+ "SpatialAnchorExporter",
23
+ "SpatialAnchorManager",
24
+ "SpatialAnchorRawCoordinateSystemAdjustedEventArgs",
25
+ "SpatialAnchorStore",
26
+ "SpatialAnchorTransferManager",
27
+ "SpatialBoundingVolume",
28
+ "SpatialCoordinateSystem",
29
+ "SpatialEntity",
30
+ "SpatialEntityAddedEventArgs",
31
+ "SpatialEntityRemovedEventArgs",
32
+ "SpatialEntityStore",
33
+ "SpatialEntityUpdatedEventArgs",
34
+ "SpatialEntityWatcher",
35
+ "SpatialLocation",
36
+ "SpatialLocator",
37
+ "SpatialLocatorAttachedFrameOfReference",
38
+ "SpatialLocatorPositionalTrackingDeactivatingEventArgs",
39
+ "SpatialStageFrameOfReference",
40
+ "SpatialStationaryFrameOfReference",
41
+ ]
42
+
43
+ winrt.runtime._internals.alias_static_method(SpatialAnchor, "try_create_with_position_and_orientation_relative_to", "try_create_relative_to")
44
+ winrt.runtime._internals.alias_static_method(SpatialAnchor, "try_create_with_position_relative_to", "try_create_relative_to")
45
+ winrt.runtime._internals.alias_static_method(SpatialEntityStore, "try_get_for_remote_system_session", "try_get")
46
+ winrt.runtime._internals.alias_method(SpatialLocator, "create_attached_frame_of_reference_at_current_heading_with_position", "create_attached_frame_of_reference_at_current_heading")
47
+ winrt.runtime._internals.alias_method(SpatialLocator, "create_attached_frame_of_reference_at_current_heading_with_position_and_orientation", "create_attached_frame_of_reference_at_current_heading")
48
+ winrt.runtime._internals.alias_method(SpatialLocator, "create_attached_frame_of_reference_at_current_heading_with_position_and_orientation_and_relative_heading", "create_attached_frame_of_reference_at_current_heading")
49
+ winrt.runtime._internals.alias_method(SpatialLocator, "create_stationary_frame_of_reference_at_current_location_with_position", "create_stationary_frame_of_reference_at_current_location")
50
+ winrt.runtime._internals.alias_method(SpatialLocator, "create_stationary_frame_of_reference_at_current_location_with_position_and_orientation", "create_stationary_frame_of_reference_at_current_location")
51
+ winrt.runtime._internals.alias_method(SpatialLocator, "create_stationary_frame_of_reference_at_current_location_with_position_and_orientation_and_relative_heading", "create_stationary_frame_of_reference_at_current_location")
@@ -0,0 +1,554 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ from builtins import property as _property
7
+ from typing_extensions import deprecated
8
+
9
+ import winrt.system
10
+ import winrt.windows.foundation as windows_foundation
11
+ import winrt.windows.foundation.collections as windows_foundation_collections
12
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
13
+ import winrt.windows.perception as windows_perception
14
+ import winrt.windows.storage.streams as windows_storage_streams
15
+ import winrt.windows.system.remotesystems as windows_system_remotesystems
16
+
17
+ __all__ = [
18
+ "SpatialAnchorExportPurpose",
19
+ "SpatialEntityWatcherStatus",
20
+ "SpatialLocatability",
21
+ "SpatialLookDirectionRange",
22
+ "SpatialMovementRange",
23
+ "SpatialPerceptionAccessStatus",
24
+ "SpatialBoundingBox",
25
+ "SpatialBoundingFrustum",
26
+ "SpatialBoundingOrientedBox",
27
+ "SpatialBoundingSphere",
28
+ "SpatialRay",
29
+ "SpatialAnchor",
30
+ "SpatialAnchorExportSufficiency",
31
+ "SpatialAnchorExporter",
32
+ "SpatialAnchorManager",
33
+ "SpatialAnchorRawCoordinateSystemAdjustedEventArgs",
34
+ "SpatialAnchorStore",
35
+ "SpatialAnchorTransferManager",
36
+ "SpatialBoundingVolume",
37
+ "SpatialCoordinateSystem",
38
+ "SpatialEntity",
39
+ "SpatialEntityAddedEventArgs",
40
+ "SpatialEntityRemovedEventArgs",
41
+ "SpatialEntityStore",
42
+ "SpatialEntityUpdatedEventArgs",
43
+ "SpatialEntityWatcher",
44
+ "SpatialLocation",
45
+ "SpatialLocator",
46
+ "SpatialLocatorAttachedFrameOfReference",
47
+ "SpatialLocatorPositionalTrackingDeactivatingEventArgs",
48
+ "SpatialStageFrameOfReference",
49
+ "SpatialStationaryFrameOfReference",
50
+ ]
51
+
52
+ class SpatialAnchorExportPurpose(enum.IntEnum):
53
+ RELOCALIZATION = 0
54
+ SHARING = 1
55
+
56
+ class SpatialEntityWatcherStatus(enum.IntEnum):
57
+ CREATED = 0
58
+ STARTED = 1
59
+ ENUMERATION_COMPLETED = 2
60
+ STOPPING = 3
61
+ STOPPED = 4
62
+ ABORTED = 5
63
+
64
+ class SpatialLocatability(enum.IntEnum):
65
+ UNAVAILABLE = 0
66
+ ORIENTATION_ONLY = 1
67
+ POSITIONAL_TRACKING_ACTIVATING = 2
68
+ POSITIONAL_TRACKING_ACTIVE = 3
69
+ POSITIONAL_TRACKING_INHIBITED = 4
70
+
71
+ class SpatialLookDirectionRange(enum.IntEnum):
72
+ FORWARD_ONLY = 0
73
+ OMNIDIRECTIONAL = 1
74
+
75
+ class SpatialMovementRange(enum.IntEnum):
76
+ NO_MOVEMENT = 0
77
+ BOUNDED = 1
78
+
79
+ class SpatialPerceptionAccessStatus(enum.IntEnum):
80
+ UNSPECIFIED = 0
81
+ ALLOWED = 1
82
+ DENIED_BY_USER = 2
83
+ DENIED_BY_SYSTEM = 3
84
+
85
+ @typing.final
86
+ class SpatialBoundingBox:
87
+ __match_args__ = ("center", "extents")
88
+ @_property
89
+ def center(self) -> windows_foundation_numerics.Vector3: ...
90
+ @_property
91
+ def extents(self) -> windows_foundation_numerics.Vector3: ...
92
+ def __new__(cls, center: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ..., extents: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ...) -> SpatialBoundingBox: ...
93
+ def __replace__(self, /, **changes: typing.Any) -> SpatialBoundingBox: ...
94
+ def unpack(self) -> tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single]]: ...
95
+
96
+ @typing.final
97
+ class SpatialBoundingFrustum:
98
+ __match_args__ = ("near", "far", "right", "left", "top", "bottom")
99
+ @_property
100
+ def near(self) -> windows_foundation_numerics.Plane: ...
101
+ @_property
102
+ def far(self) -> windows_foundation_numerics.Plane: ...
103
+ @_property
104
+ def right(self) -> windows_foundation_numerics.Plane: ...
105
+ @_property
106
+ def left(self) -> windows_foundation_numerics.Plane: ...
107
+ @_property
108
+ def top(self) -> windows_foundation_numerics.Plane: ...
109
+ @_property
110
+ def bottom(self) -> windows_foundation_numerics.Plane: ...
111
+ def __new__(cls, near: windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single] = ..., far: windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single] = ..., right: windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single] = ..., left: windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single] = ..., top: windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single] = ..., bottom: windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single] = ...) -> SpatialBoundingFrustum: ...
112
+ def __replace__(self, /, **changes: typing.Any) -> SpatialBoundingFrustum: ...
113
+ def unpack(self) -> tuple[tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single]]: ...
114
+
115
+ @typing.final
116
+ class SpatialBoundingOrientedBox:
117
+ __match_args__ = ("center", "extents", "orientation")
118
+ @_property
119
+ def center(self) -> windows_foundation_numerics.Vector3: ...
120
+ @_property
121
+ def extents(self) -> windows_foundation_numerics.Vector3: ...
122
+ @_property
123
+ def orientation(self) -> windows_foundation_numerics.Quaternion: ...
124
+ def __new__(cls, center: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ..., extents: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ..., orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single] = ...) -> SpatialBoundingOrientedBox: ...
125
+ def __replace__(self, /, **changes: typing.Any) -> SpatialBoundingOrientedBox: ...
126
+ def unpack(self) -> tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]]: ...
127
+
128
+ @typing.final
129
+ class SpatialBoundingSphere:
130
+ __match_args__ = ("center", "radius")
131
+ @_property
132
+ def center(self) -> windows_foundation_numerics.Vector3: ...
133
+ @_property
134
+ def radius(self) -> winrt.system.Single: ...
135
+ def __new__(cls, center: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ..., radius: winrt.system.Single = 0) -> SpatialBoundingSphere: ...
136
+ def __replace__(self, /, **changes: typing.Any) -> SpatialBoundingSphere: ...
137
+ def unpack(self) -> tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single]: ...
138
+
139
+ @typing.final
140
+ class SpatialRay:
141
+ __match_args__ = ("origin", "direction")
142
+ @_property
143
+ def origin(self) -> windows_foundation_numerics.Vector3: ...
144
+ @_property
145
+ def direction(self) -> windows_foundation_numerics.Vector3: ...
146
+ def __new__(cls, origin: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ..., direction: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single] = ...) -> SpatialRay: ...
147
+ def __replace__(self, /, **changes: typing.Any) -> SpatialRay: ...
148
+ def unpack(self) -> tuple[tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single]]: ...
149
+
150
+ @typing.final
151
+ class SpatialAnchor_Static(winrt.system.Object_Static):
152
+ @typing.overload
153
+ # Windows.Perception.Spatial.SpatialAnchor Windows.Perception.Spatial.SpatialAnchor::TryCreateRelativeTo(Windows.Perception.Spatial.SpatialCoordinateSystem)
154
+ def try_create_relative_to(cls, coordinate_system: SpatialCoordinateSystem, /) -> SpatialAnchor | None: ...
155
+ @typing.overload
156
+ # Windows.Perception.Spatial.SpatialAnchor Windows.Perception.Spatial.SpatialAnchor::TryCreateRelativeTo(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3)
157
+ def try_create_relative_to(cls, coordinate_system: SpatialCoordinateSystem, position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialAnchor | None: ...
158
+ @typing.overload
159
+ # Windows.Perception.Spatial.SpatialAnchor Windows.Perception.Spatial.SpatialAnchor::TryCreateRelativeTo(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
160
+ def try_create_relative_to(cls, coordinate_system: SpatialCoordinateSystem, position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialAnchor | None: ...
161
+ # Deprecated alias of try_create_relative_to() for pywinrt v3.x compatibility.
162
+ # Windows.Perception.Spatial.SpatialAnchor Windows.Perception.Spatial.SpatialAnchor::TryCreateRelativeTo(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
163
+ @deprecated("Use try_create_relative_to() instead.")
164
+ def try_create_with_position_and_orientation_relative_to(cls, coordinate_system: SpatialCoordinateSystem, position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialAnchor | None: ...
165
+ # Deprecated alias of try_create_relative_to() for pywinrt v3.x compatibility.
166
+ # Windows.Perception.Spatial.SpatialAnchor Windows.Perception.Spatial.SpatialAnchor::TryCreateRelativeTo(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Foundation.Numerics.Vector3)
167
+ @deprecated("Use try_create_relative_to() instead.")
168
+ def try_create_with_position_relative_to(cls, coordinate_system: SpatialCoordinateSystem, position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialAnchor | None: ...
169
+
170
+ @typing.final
171
+ class SpatialAnchor(winrt.system.Object, metaclass=SpatialAnchor_Static):
172
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
173
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
174
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialAnchor::add_RawCoordinateSystemAdjusted(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialAnchor,Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs>)
175
+ def add_raw_coordinate_system_adjusted(self, handler: windows_foundation.TypedEventHandler[SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
176
+ # System.Void Windows.Perception.Spatial.SpatialAnchor::remove_RawCoordinateSystemAdjusted(Windows.Foundation.EventRegistrationToken)
177
+ def remove_raw_coordinate_system_adjusted(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
178
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.SpatialAnchor::get_CoordinateSystem()
179
+ @_property
180
+ def coordinate_system(self) -> SpatialCoordinateSystem: ...
181
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.SpatialAnchor::get_RawCoordinateSystem()
182
+ @_property
183
+ def raw_coordinate_system(self) -> SpatialCoordinateSystem: ...
184
+ # System.Boolean Windows.Perception.Spatial.SpatialAnchor::get_RemovedByUser()
185
+ @_property
186
+ def removed_by_user(self) -> bool: ...
187
+
188
+ @typing.final
189
+ class SpatialAnchorExportSufficiency(winrt.system.Object):
190
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
191
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
192
+ # System.Boolean Windows.Perception.Spatial.SpatialAnchorExportSufficiency::get_IsMinimallySufficient()
193
+ @_property
194
+ def is_minimally_sufficient(self) -> bool: ...
195
+ # System.Double Windows.Perception.Spatial.SpatialAnchorExportSufficiency::get_RecommendedSufficiencyLevel()
196
+ @_property
197
+ def recommended_sufficiency_level(self) -> winrt.system.Double: ...
198
+ # System.Double Windows.Perception.Spatial.SpatialAnchorExportSufficiency::get_SufficiencyLevel()
199
+ @_property
200
+ def sufficiency_level(self) -> winrt.system.Double: ...
201
+
202
+ @typing.final
203
+ class SpatialAnchorExporter_Static(winrt.system.Object_Static):
204
+ # Windows.Perception.Spatial.SpatialAnchorExporter Windows.Perception.Spatial.SpatialAnchorExporter::GetDefault()
205
+ def get_default(cls) -> SpatialAnchorExporter: ...
206
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialPerceptionAccessStatus> Windows.Perception.Spatial.SpatialAnchorExporter::RequestAccessAsync()
207
+ def request_access_async(cls) -> windows_foundation.IAsyncOperation[SpatialPerceptionAccessStatus]: ...
208
+
209
+ @typing.final
210
+ class SpatialAnchorExporter(winrt.system.Object, metaclass=SpatialAnchorExporter_Static):
211
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
212
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
213
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialAnchorExportSufficiency> Windows.Perception.Spatial.SpatialAnchorExporter::GetAnchorExportSufficiencyAsync(Windows.Perception.Spatial.SpatialAnchor,Windows.Perception.Spatial.SpatialAnchorExportPurpose)
214
+ def get_anchor_export_sufficiency_async(self, anchor: SpatialAnchor, purpose: SpatialAnchorExportPurpose, /) -> windows_foundation.IAsyncOperation[SpatialAnchorExportSufficiency]: ...
215
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Perception.Spatial.SpatialAnchorExporter::TryExportAnchorAsync(Windows.Perception.Spatial.SpatialAnchor,Windows.Perception.Spatial.SpatialAnchorExportPurpose,Windows.Storage.Streams.IOutputStream)
216
+ def try_export_anchor_async(self, anchor: SpatialAnchor, purpose: SpatialAnchorExportPurpose, stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperation[bool]: ...
217
+
218
+ @typing.final
219
+ class SpatialAnchorManager_Static(winrt.system.Object_Static):
220
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialAnchorStore> Windows.Perception.Spatial.SpatialAnchorManager::RequestStoreAsync()
221
+ def request_store_async(cls) -> windows_foundation.IAsyncOperation[SpatialAnchorStore]: ...
222
+
223
+ @typing.final
224
+ class SpatialAnchorManager(winrt.system.Object, metaclass=SpatialAnchorManager_Static):
225
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
226
+ """A class of static members only, so there is nothing to create."""
227
+
228
+ @typing.final
229
+ class SpatialAnchorRawCoordinateSystemAdjustedEventArgs(winrt.system.Object):
230
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
231
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
232
+ # Windows.Foundation.Numerics.Matrix4x4 Windows.Perception.Spatial.SpatialAnchorRawCoordinateSystemAdjustedEventArgs::get_OldRawCoordinateSystemToNewRawCoordinateSystemTransform()
233
+ @_property
234
+ def old_raw_coordinate_system_to_new_raw_coordinate_system_transform(self) -> windows_foundation_numerics.Matrix4x4: ...
235
+
236
+ @typing.final
237
+ class SpatialAnchorStore(winrt.system.Object):
238
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
239
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
240
+ # System.Void Windows.Perception.Spatial.SpatialAnchorStore::Clear()
241
+ def clear(self) -> None: ...
242
+ # Windows.Foundation.Collections.IMapView`2<System.String,Windows.Perception.Spatial.SpatialAnchor> Windows.Perception.Spatial.SpatialAnchorStore::GetAllSavedAnchors()
243
+ def get_all_saved_anchors(self) -> _cabc.Mapping[str, SpatialAnchor]: ...
244
+ # System.Void Windows.Perception.Spatial.SpatialAnchorStore::Remove(System.String)
245
+ def remove(self, id: str, /) -> None: ...
246
+ # System.Boolean Windows.Perception.Spatial.SpatialAnchorStore::TrySave(System.String,Windows.Perception.Spatial.SpatialAnchor)
247
+ def try_save(self, id: str, anchor: SpatialAnchor, /) -> bool: ...
248
+
249
+ @typing.final
250
+ class SpatialAnchorTransferManager_Static(winrt.system.Object_Static):
251
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialPerceptionAccessStatus> Windows.Perception.Spatial.SpatialAnchorTransferManager::RequestAccessAsync()
252
+ @deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")
253
+ def request_access_async(cls) -> windows_foundation.IAsyncOperation[SpatialPerceptionAccessStatus]: ...
254
+ # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.Perception.Spatial.SpatialAnchorTransferManager::TryExportAnchorsAsync(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,Windows.Perception.Spatial.SpatialAnchor>>,Windows.Storage.Streams.IOutputStream)
255
+ @deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")
256
+ def try_export_anchors_async(cls, anchors: _cabc.Mapping[str, SpatialAnchor] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[str, SpatialAnchor]], stream: windows_storage_streams.IOutputStream, /) -> windows_foundation.IAsyncOperation[bool]: ...
257
+ # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMapView`2<System.String,Windows.Perception.Spatial.SpatialAnchor>> Windows.Perception.Spatial.SpatialAnchorTransferManager::TryImportAnchorsAsync(Windows.Storage.Streams.IInputStream)
258
+ @deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")
259
+ def try_import_anchors_async(cls, stream: windows_storage_streams.IInputStream, /) -> windows_foundation.IAsyncOperation[_cabc.Mapping[str, SpatialAnchor]]: ...
260
+
261
+ @typing.final
262
+ @deprecated("Use SpatialEntityStore instead of SpatialAnchorTransferManager. For more info, see MSDN.")
263
+ class SpatialAnchorTransferManager(winrt.system.Object, metaclass=SpatialAnchorTransferManager_Static):
264
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
265
+ """A class of static members only, so there is nothing to create."""
266
+
267
+ @typing.final
268
+ class SpatialBoundingVolume_Static(winrt.system.Object_Static):
269
+ # Windows.Perception.Spatial.SpatialBoundingVolume Windows.Perception.Spatial.SpatialBoundingVolume::FromBox(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Perception.Spatial.SpatialBoundingBox)
270
+ def from_box(cls, coordinate_system: SpatialCoordinateSystem, box: SpatialBoundingBox | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single]], /) -> SpatialBoundingVolume: ...
271
+ # Windows.Perception.Spatial.SpatialBoundingVolume Windows.Perception.Spatial.SpatialBoundingVolume::FromFrustum(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Perception.Spatial.SpatialBoundingFrustum)
272
+ def from_frustum(cls, coordinate_system: SpatialCoordinateSystem, frustum: SpatialBoundingFrustum | tuple[windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], windows_foundation_numerics.Plane | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single]], /) -> SpatialBoundingVolume: ...
273
+ # Windows.Perception.Spatial.SpatialBoundingVolume Windows.Perception.Spatial.SpatialBoundingVolume::FromOrientedBox(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Perception.Spatial.SpatialBoundingOrientedBox)
274
+ def from_oriented_box(cls, coordinate_system: SpatialCoordinateSystem, box: SpatialBoundingOrientedBox | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]], /) -> SpatialBoundingVolume: ...
275
+ # Windows.Perception.Spatial.SpatialBoundingVolume Windows.Perception.Spatial.SpatialBoundingVolume::FromSphere(Windows.Perception.Spatial.SpatialCoordinateSystem,Windows.Perception.Spatial.SpatialBoundingSphere)
276
+ def from_sphere(cls, coordinate_system: SpatialCoordinateSystem, sphere: SpatialBoundingSphere | tuple[windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], winrt.system.Single], /) -> SpatialBoundingVolume: ...
277
+
278
+ @typing.final
279
+ class SpatialBoundingVolume(winrt.system.Object, metaclass=SpatialBoundingVolume_Static):
280
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
281
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
282
+
283
+ @typing.final
284
+ class SpatialCoordinateSystem(winrt.system.Object):
285
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
286
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
287
+ # Windows.Foundation.IReference`1<Windows.Foundation.Numerics.Matrix4x4> Windows.Perception.Spatial.SpatialCoordinateSystem::TryGetTransformTo(Windows.Perception.Spatial.SpatialCoordinateSystem)
288
+ def try_get_transform_to(self, target: SpatialCoordinateSystem, /) -> windows_foundation_numerics.Matrix4x4 | None: ...
289
+
290
+ @typing.final
291
+ class SpatialEntity(winrt.system.Object):
292
+ @typing.overload
293
+ def __new__(cls, spatial_anchor: SpatialAnchor, /) -> typing.Self: ...
294
+ @typing.overload
295
+ def __new__(cls, spatial_anchor: SpatialAnchor, property_set: windows_foundation_collections.ValueSet, /) -> typing.Self: ...
296
+ # Windows.Perception.Spatial.SpatialAnchor Windows.Perception.Spatial.SpatialEntity::get_Anchor()
297
+ @_property
298
+ def anchor(self) -> SpatialAnchor: ...
299
+ # System.String Windows.Perception.Spatial.SpatialEntity::get_Id()
300
+ @_property
301
+ def id(self) -> str: ...
302
+ # Windows.Foundation.Collections.ValueSet Windows.Perception.Spatial.SpatialEntity::get_Properties()
303
+ @_property
304
+ def properties(self) -> windows_foundation_collections.ValueSet: ...
305
+
306
+ @typing.final
307
+ class SpatialEntityAddedEventArgs(winrt.system.Object):
308
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
309
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
310
+ # Windows.Perception.Spatial.SpatialEntity Windows.Perception.Spatial.SpatialEntityAddedEventArgs::get_Entity()
311
+ @_property
312
+ def entity(self) -> SpatialEntity: ...
313
+
314
+ @typing.final
315
+ class SpatialEntityRemovedEventArgs(winrt.system.Object):
316
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
317
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
318
+ # Windows.Perception.Spatial.SpatialEntity Windows.Perception.Spatial.SpatialEntityRemovedEventArgs::get_Entity()
319
+ @_property
320
+ def entity(self) -> SpatialEntity: ...
321
+
322
+ @typing.final
323
+ class SpatialEntityStore_Static(winrt.system.Object_Static):
324
+ # Windows.Perception.Spatial.SpatialEntityStore Windows.Perception.Spatial.SpatialEntityStore::TryGet(Windows.System.RemoteSystems.RemoteSystemSession)
325
+ def try_get(cls, session: windows_system_remotesystems.RemoteSystemSession, /) -> SpatialEntityStore | None: ...
326
+ # Deprecated alias of try_get() for pywinrt v3.x compatibility.
327
+ # Windows.Perception.Spatial.SpatialEntityStore Windows.Perception.Spatial.SpatialEntityStore::TryGet(Windows.System.RemoteSystems.RemoteSystemSession)
328
+ @deprecated("Use try_get() instead.")
329
+ def try_get_for_remote_system_session(cls, session: windows_system_remotesystems.RemoteSystemSession, /) -> SpatialEntityStore | None: ...
330
+ # System.Boolean Windows.Perception.Spatial.SpatialEntityStore::get_IsSupported()
331
+ @_property
332
+ def is_supported(cls) -> bool: ...
333
+
334
+ @typing.final
335
+ class SpatialEntityStore(winrt.system.Object, metaclass=SpatialEntityStore_Static):
336
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
337
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
338
+ # Windows.Perception.Spatial.SpatialEntityWatcher Windows.Perception.Spatial.SpatialEntityStore::CreateEntityWatcher()
339
+ def create_entity_watcher(self) -> SpatialEntityWatcher: ...
340
+ # Windows.Foundation.IAsyncAction Windows.Perception.Spatial.SpatialEntityStore::RemoveAsync(Windows.Perception.Spatial.SpatialEntity)
341
+ def remove_async(self, entity: SpatialEntity, /) -> windows_foundation.IAsyncAction: ...
342
+ # Windows.Foundation.IAsyncAction Windows.Perception.Spatial.SpatialEntityStore::SaveAsync(Windows.Perception.Spatial.SpatialEntity)
343
+ def save_async(self, entity: SpatialEntity, /) -> windows_foundation.IAsyncAction: ...
344
+
345
+ @typing.final
346
+ class SpatialEntityUpdatedEventArgs(winrt.system.Object):
347
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
348
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
349
+ # Windows.Perception.Spatial.SpatialEntity Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs::get_Entity()
350
+ @_property
351
+ def entity(self) -> SpatialEntity: ...
352
+
353
+ @typing.final
354
+ class SpatialEntityWatcher(winrt.system.Object):
355
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
356
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
357
+ # System.Void Windows.Perception.Spatial.SpatialEntityWatcher::Start()
358
+ def start(self) -> None: ...
359
+ # System.Void Windows.Perception.Spatial.SpatialEntityWatcher::Stop()
360
+ def stop(self) -> None: ...
361
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialEntityWatcher::add_Added(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialEntityWatcher,Windows.Perception.Spatial.SpatialEntityAddedEventArgs>)
362
+ def add_added(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, SpatialEntityAddedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
363
+ # System.Void Windows.Perception.Spatial.SpatialEntityWatcher::remove_Added(Windows.Foundation.EventRegistrationToken)
364
+ def remove_added(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
365
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialEntityWatcher::add_EnumerationCompleted(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialEntityWatcher,System.Object>)
366
+ def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
367
+ # System.Void Windows.Perception.Spatial.SpatialEntityWatcher::remove_EnumerationCompleted(Windows.Foundation.EventRegistrationToken)
368
+ def remove_enumeration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
369
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialEntityWatcher::add_Removed(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialEntityWatcher,Windows.Perception.Spatial.SpatialEntityRemovedEventArgs>)
370
+ def add_removed(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, SpatialEntityRemovedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
371
+ # System.Void Windows.Perception.Spatial.SpatialEntityWatcher::remove_Removed(Windows.Foundation.EventRegistrationToken)
372
+ def remove_removed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
373
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialEntityWatcher::add_Updated(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialEntityWatcher,Windows.Perception.Spatial.SpatialEntityUpdatedEventArgs>)
374
+ def add_updated(self, handler: windows_foundation.TypedEventHandler[SpatialEntityWatcher, SpatialEntityUpdatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
375
+ # System.Void Windows.Perception.Spatial.SpatialEntityWatcher::remove_Updated(Windows.Foundation.EventRegistrationToken)
376
+ def remove_updated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
377
+ # Windows.Perception.Spatial.SpatialEntityWatcherStatus Windows.Perception.Spatial.SpatialEntityWatcher::get_Status()
378
+ @_property
379
+ def status(self) -> SpatialEntityWatcherStatus: ...
380
+
381
+ @typing.final
382
+ class SpatialLocation(winrt.system.Object):
383
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
384
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
385
+ # Windows.Foundation.Numerics.Quaternion Windows.Perception.Spatial.SpatialLocation::get_AbsoluteAngularAcceleration()
386
+ @_property
387
+ @deprecated("Use AbsoluteAngularAccelerationAxisAngle instead of AbsoluteAngularAcceleration. For more info, see MSDN.")
388
+ def absolute_angular_acceleration(self) -> windows_foundation_numerics.Quaternion: ...
389
+ # Windows.Foundation.Numerics.Quaternion Windows.Perception.Spatial.SpatialLocation::get_AbsoluteAngularVelocity()
390
+ @_property
391
+ @deprecated("Use AbsoluteAngularVelocityAxisAngle instead of AbsoluteAngularVelocity. For more info, see MSDN.")
392
+ def absolute_angular_velocity(self) -> windows_foundation_numerics.Quaternion: ...
393
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.SpatialLocation::get_AbsoluteLinearAcceleration()
394
+ @_property
395
+ def absolute_linear_acceleration(self) -> windows_foundation_numerics.Vector3: ...
396
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.SpatialLocation::get_AbsoluteLinearVelocity()
397
+ @_property
398
+ def absolute_linear_velocity(self) -> windows_foundation_numerics.Vector3: ...
399
+ # Windows.Foundation.Numerics.Quaternion Windows.Perception.Spatial.SpatialLocation::get_Orientation()
400
+ @_property
401
+ def orientation(self) -> windows_foundation_numerics.Quaternion: ...
402
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.SpatialLocation::get_Position()
403
+ @_property
404
+ def position(self) -> windows_foundation_numerics.Vector3: ...
405
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.SpatialLocation::get_AbsoluteAngularAccelerationAxisAngle()
406
+ @_property
407
+ def absolute_angular_acceleration_axis_angle(self) -> windows_foundation_numerics.Vector3: ...
408
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.SpatialLocation::get_AbsoluteAngularVelocityAxisAngle()
409
+ @_property
410
+ def absolute_angular_velocity_axis_angle(self) -> windows_foundation_numerics.Vector3: ...
411
+
412
+ @typing.final
413
+ class SpatialLocator_Static(winrt.system.Object_Static):
414
+ # Windows.Perception.Spatial.SpatialLocator Windows.Perception.Spatial.SpatialLocator::GetDefault()
415
+ def get_default(cls) -> SpatialLocator: ...
416
+
417
+ @typing.final
418
+ class SpatialLocator(winrt.system.Object, metaclass=SpatialLocator_Static):
419
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
420
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
421
+ @typing.overload
422
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading()
423
+ def create_attached_frame_of_reference_at_current_heading(self) -> SpatialLocatorAttachedFrameOfReference: ...
424
+ @typing.overload
425
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(Windows.Foundation.Numerics.Vector3)
426
+ def create_attached_frame_of_reference_at_current_heading(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialLocatorAttachedFrameOfReference: ...
427
+ @typing.overload
428
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
429
+ def create_attached_frame_of_reference_at_current_heading(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialLocatorAttachedFrameOfReference: ...
430
+ @typing.overload
431
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion,System.Double)
432
+ def create_attached_frame_of_reference_at_current_heading(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_heading_in_radians: winrt.system.Double, /) -> SpatialLocatorAttachedFrameOfReference: ...
433
+ # Deprecated alias of create_attached_frame_of_reference_at_current_heading() for pywinrt v3.x compatibility.
434
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(Windows.Foundation.Numerics.Vector3)
435
+ @deprecated("Use create_attached_frame_of_reference_at_current_heading() instead.")
436
+ def create_attached_frame_of_reference_at_current_heading_with_position(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialLocatorAttachedFrameOfReference: ...
437
+ # Deprecated alias of create_attached_frame_of_reference_at_current_heading() for pywinrt v3.x compatibility.
438
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
439
+ @deprecated("Use create_attached_frame_of_reference_at_current_heading() instead.")
440
+ def create_attached_frame_of_reference_at_current_heading_with_position_and_orientation(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialLocatorAttachedFrameOfReference: ...
441
+ # Deprecated alias of create_attached_frame_of_reference_at_current_heading() for pywinrt v3.x compatibility.
442
+ # Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateAttachedFrameOfReferenceAtCurrentHeading(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion,System.Double)
443
+ @deprecated("Use create_attached_frame_of_reference_at_current_heading() instead.")
444
+ def create_attached_frame_of_reference_at_current_heading_with_position_and_orientation_and_relative_heading(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_heading_in_radians: winrt.system.Double, /) -> SpatialLocatorAttachedFrameOfReference: ...
445
+ @typing.overload
446
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation()
447
+ def create_stationary_frame_of_reference_at_current_location(self) -> SpatialStationaryFrameOfReference: ...
448
+ @typing.overload
449
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3)
450
+ def create_stationary_frame_of_reference_at_current_location(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialStationaryFrameOfReference: ...
451
+ @typing.overload
452
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
453
+ def create_stationary_frame_of_reference_at_current_location(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialStationaryFrameOfReference: ...
454
+ @typing.overload
455
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion,System.Double)
456
+ def create_stationary_frame_of_reference_at_current_location(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_heading_in_radians: winrt.system.Double, /) -> SpatialStationaryFrameOfReference: ...
457
+ # Deprecated alias of create_stationary_frame_of_reference_at_current_location() for pywinrt v3.x compatibility.
458
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3)
459
+ @deprecated("Use create_stationary_frame_of_reference_at_current_location() instead.")
460
+ def create_stationary_frame_of_reference_at_current_location_with_position(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialStationaryFrameOfReference: ...
461
+ # Deprecated alias of create_stationary_frame_of_reference_at_current_location() for pywinrt v3.x compatibility.
462
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion)
463
+ @deprecated("Use create_stationary_frame_of_reference_at_current_location() instead.")
464
+ def create_stationary_frame_of_reference_at_current_location_with_position_and_orientation(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], /) -> SpatialStationaryFrameOfReference: ...
465
+ # Deprecated alias of create_stationary_frame_of_reference_at_current_location() for pywinrt v3.x compatibility.
466
+ # Windows.Perception.Spatial.SpatialStationaryFrameOfReference Windows.Perception.Spatial.SpatialLocator::CreateStationaryFrameOfReferenceAtCurrentLocation(Windows.Foundation.Numerics.Vector3,Windows.Foundation.Numerics.Quaternion,System.Double)
467
+ @deprecated("Use create_stationary_frame_of_reference_at_current_location() instead.")
468
+ def create_stationary_frame_of_reference_at_current_location_with_position_and_orientation_and_relative_heading(self, relative_position: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_orientation: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single], relative_heading_in_radians: winrt.system.Double, /) -> SpatialStationaryFrameOfReference: ...
469
+ # Windows.Perception.Spatial.SpatialLocation Windows.Perception.Spatial.SpatialLocator::TryLocateAtTimestamp(Windows.Perception.PerceptionTimestamp,Windows.Perception.Spatial.SpatialCoordinateSystem)
470
+ def try_locate_at_timestamp(self, timestamp: windows_perception.PerceptionTimestamp, coordinate_system: SpatialCoordinateSystem, /) -> SpatialLocation | None: ...
471
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialLocator::add_LocatabilityChanged(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialLocator,System.Object>)
472
+ def add_locatability_changed(self, handler: windows_foundation.TypedEventHandler[SpatialLocator, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
473
+ # System.Void Windows.Perception.Spatial.SpatialLocator::remove_LocatabilityChanged(Windows.Foundation.EventRegistrationToken)
474
+ def remove_locatability_changed(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
475
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialLocator::add_PositionalTrackingDeactivating(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.SpatialLocator,Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs>)
476
+ def add_positional_tracking_deactivating(self, handler: windows_foundation.TypedEventHandler[SpatialLocator, SpatialLocatorPositionalTrackingDeactivatingEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
477
+ # System.Void Windows.Perception.Spatial.SpatialLocator::remove_PositionalTrackingDeactivating(Windows.Foundation.EventRegistrationToken)
478
+ def remove_positional_tracking_deactivating(self, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
479
+ # Windows.Perception.Spatial.SpatialLocatability Windows.Perception.Spatial.SpatialLocator::get_Locatability()
480
+ @_property
481
+ def locatability(self) -> SpatialLocatability: ...
482
+
483
+ @typing.final
484
+ class SpatialLocatorAttachedFrameOfReference(winrt.system.Object):
485
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
486
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
487
+ # System.Void Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::AdjustHeading(System.Double)
488
+ def adjust_heading(self, heading_offset_in_radians: winrt.system.Double, /) -> None: ...
489
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::GetStationaryCoordinateSystemAtTimestamp(Windows.Perception.PerceptionTimestamp)
490
+ def get_stationary_coordinate_system_at_timestamp(self, timestamp: windows_perception.PerceptionTimestamp, /) -> SpatialCoordinateSystem: ...
491
+ # Windows.Foundation.IReference`1<System.Double> Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::TryGetRelativeHeadingAtTimestamp(Windows.Perception.PerceptionTimestamp)
492
+ def try_get_relative_heading_at_timestamp(self, timestamp: windows_perception.PerceptionTimestamp, /) -> winrt.system.Double | None: ...
493
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::get_RelativePosition()
494
+ @_property
495
+ def relative_position(self) -> windows_foundation_numerics.Vector3: ...
496
+ # System.Void Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::put_RelativePosition(Windows.Foundation.Numerics.Vector3)
497
+ @relative_position.setter
498
+ def relative_position(self, value: windows_foundation_numerics.Vector3 | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
499
+ # Windows.Foundation.Numerics.Quaternion Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::get_RelativeOrientation()
500
+ @_property
501
+ def relative_orientation(self) -> windows_foundation_numerics.Quaternion: ...
502
+ # System.Void Windows.Perception.Spatial.SpatialLocatorAttachedFrameOfReference::put_RelativeOrientation(Windows.Foundation.Numerics.Quaternion)
503
+ @relative_orientation.setter
504
+ def relative_orientation(self, value: windows_foundation_numerics.Quaternion | tuple[winrt.system.Single, winrt.system.Single, winrt.system.Single, winrt.system.Single]) -> None: ...
505
+
506
+ @typing.final
507
+ class SpatialLocatorPositionalTrackingDeactivatingEventArgs(winrt.system.Object):
508
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
509
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
510
+ # System.Boolean Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs::get_Canceled()
511
+ @_property
512
+ def canceled(self) -> bool: ...
513
+ # System.Void Windows.Perception.Spatial.SpatialLocatorPositionalTrackingDeactivatingEventArgs::put_Canceled(System.Boolean)
514
+ @canceled.setter
515
+ def canceled(self, value: bool) -> None: ...
516
+
517
+ @typing.final
518
+ class SpatialStageFrameOfReference_Static(winrt.system.Object_Static):
519
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialStageFrameOfReference> Windows.Perception.Spatial.SpatialStageFrameOfReference::RequestNewStageAsync()
520
+ def request_new_stage_async(cls) -> windows_foundation.IAsyncOperation[SpatialStageFrameOfReference]: ...
521
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.SpatialStageFrameOfReference::add_CurrentChanged(Windows.Foundation.EventHandler`1<System.Object>)
522
+ def add_current_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
523
+ # System.Void Windows.Perception.Spatial.SpatialStageFrameOfReference::remove_CurrentChanged(Windows.Foundation.EventRegistrationToken)
524
+ def remove_current_changed(cls, cookie: windows_foundation.EventRegistrationToken, /) -> None: ...
525
+ # Windows.Perception.Spatial.SpatialStageFrameOfReference Windows.Perception.Spatial.SpatialStageFrameOfReference::get_Current()
526
+ @_property
527
+ def current(cls) -> SpatialStageFrameOfReference: ...
528
+
529
+ @typing.final
530
+ class SpatialStageFrameOfReference(winrt.system.Object, metaclass=SpatialStageFrameOfReference_Static):
531
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
532
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
533
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.SpatialStageFrameOfReference::GetCoordinateSystemAtCurrentLocation(Windows.Perception.Spatial.SpatialLocator)
534
+ def get_coordinate_system_at_current_location(self, locator: SpatialLocator, /) -> SpatialCoordinateSystem: ...
535
+ # Windows.Foundation.Numerics.Vector3[] Windows.Perception.Spatial.SpatialStageFrameOfReference::TryGetMovementBounds(Windows.Perception.Spatial.SpatialCoordinateSystem)
536
+ def try_get_movement_bounds(self, coordinate_system: SpatialCoordinateSystem, /) -> winrt.system.Array[windows_foundation_numerics.Vector3]: ...
537
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.SpatialStageFrameOfReference::get_CoordinateSystem()
538
+ @_property
539
+ def coordinate_system(self) -> SpatialCoordinateSystem: ...
540
+ # Windows.Perception.Spatial.SpatialLookDirectionRange Windows.Perception.Spatial.SpatialStageFrameOfReference::get_LookDirectionRange()
541
+ @_property
542
+ def look_direction_range(self) -> SpatialLookDirectionRange: ...
543
+ # Windows.Perception.Spatial.SpatialMovementRange Windows.Perception.Spatial.SpatialStageFrameOfReference::get_MovementRange()
544
+ @_property
545
+ def movement_range(self) -> SpatialMovementRange: ...
546
+
547
+ @typing.final
548
+ class SpatialStationaryFrameOfReference(winrt.system.Object):
549
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
550
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
551
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.SpatialStationaryFrameOfReference::get_CoordinateSystem()
552
+ @_property
553
+ def coordinate_system(self) -> SpatialCoordinateSystem: ...
554
+
File without changes
@@ -0,0 +1,52 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Perception.Spatial
3
+ Version: 4!10.0.28000.2705.1
4
+ Summary: PyWinRT projection of the Windows.Perception.Spatial namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation-numerics>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
26
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
27
+ Provides-Extra: all
28
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-foundation-numerics[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-perception[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
33
+ Requires-Dist: winrt-windows-system-remotesystems[all]>=4!10.0.28000.2705; extra == 'all'
34
+ Description-Content-Type: text/markdown
35
+
36
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
37
+
38
+ # winrt-Windows.Perception.Spatial
39
+
40
+ Windows Runtime (WinRT) APIs for the `Windows.Perception.Spatial` namespace.
41
+
42
+ This package provides the `winrt.windows.perception.spatial` module.
43
+
44
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
45
+ `Microsoft.Windows.SDK.CPP` NuGet package.
46
+
47
+ ```
48
+ pip install winrt-Windows.Perception.Spatial
49
+ ```
50
+
51
+ Other WinRT namespaces are packages of their own, so install the package of
52
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/perception/spatial/__init__.py,sha256=l21WXuqP2a62ynBFt7Ub-gVRLlxL0rCJT4wXHrZnRec,2829
2
+ winrt/windows/perception/spatial/__init__.pyi,sha256=e_Q0OoztvcaSURfcwU9pc1m35GPXMJSi7GmUSp5d0DY,50520
3
+ winrt/windows/perception/spatial/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/perception/spatial/_table.pywinrt,sha256=GCr7cobOP6EOzXuJ1DgkrdgMoDB7tac6ZNk84ms7eFg,50208
5
+ winrt_windows_perception_spatial-4!10.0.28000.2705.1.dist-info/METADATA,sha256=76Y5hsTBwBn97n3_AnqTUkd2hvdcrLiE5VwC6Kuzd9c,2443
6
+ winrt_windows_perception_spatial-4!10.0.28000.2705.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_perception_spatial-4!10.0.28000.2705.1.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_perception_spatial-4!10.0.28000.2705.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE