winrt-Windows.Perception.Spatial.Surfaces 4!10.0.28000.2705__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,16 @@
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
+ "SpatialSurfaceInfo",
10
+ "SpatialSurfaceMesh",
11
+ "SpatialSurfaceMeshBuffer",
12
+ "SpatialSurfaceMeshOptions",
13
+ "SpatialSurfaceObserver",
14
+ ]
15
+
16
+ winrt.runtime._internals.alias_method(SpatialSurfaceInfo, "try_compute_latest_mesh_with_options_async", "try_compute_latest_mesh_async")
@@ -0,0 +1,149 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import datetime
5
+ import typing
6
+ import uuid as _uuid
7
+ from builtins import property as _property
8
+ from typing_extensions import deprecated
9
+
10
+ import winrt.system
11
+ import winrt.windows.foundation as windows_foundation
12
+ import winrt.windows.foundation.collections as windows_foundation_collections
13
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
14
+ import winrt.windows.graphics.directx as windows_graphics_directx
15
+ import winrt.windows.perception.spatial as windows_perception_spatial
16
+ import winrt.windows.storage.streams as windows_storage_streams
17
+
18
+ __all__ = [
19
+ "SpatialSurfaceInfo",
20
+ "SpatialSurfaceMesh",
21
+ "SpatialSurfaceMeshBuffer",
22
+ "SpatialSurfaceMeshOptions",
23
+ "SpatialSurfaceObserver",
24
+ ]
25
+
26
+ @typing.final
27
+ class SpatialSurfaceInfo(winrt.system.Object):
28
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
29
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
30
+ @typing.overload
31
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryComputeLatestMeshAsync(System.Double)
32
+ def try_compute_latest_mesh_async(self, max_triangles_per_cubic_meter: winrt.system.Double, /) -> windows_foundation.IAsyncOperation[SpatialSurfaceMesh | None]: ...
33
+ @typing.overload
34
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryComputeLatestMeshAsync(System.Double,Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions)
35
+ def try_compute_latest_mesh_async(self, max_triangles_per_cubic_meter: winrt.system.Double, options: SpatialSurfaceMeshOptions, /) -> windows_foundation.IAsyncOperation[SpatialSurfaceMesh | None]: ...
36
+ # Deprecated alias of try_compute_latest_mesh_async() for pywinrt v3.x compatibility.
37
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryComputeLatestMeshAsync(System.Double,Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions)
38
+ @deprecated("Use try_compute_latest_mesh_async() instead.")
39
+ def try_compute_latest_mesh_with_options_async(self, max_triangles_per_cubic_meter: winrt.system.Double, options: SpatialSurfaceMeshOptions, /) -> windows_foundation.IAsyncOperation[SpatialSurfaceMesh | None]: ...
40
+ # Windows.Foundation.IReference`1<Windows.Perception.Spatial.SpatialBoundingOrientedBox> Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::TryGetBounds(Windows.Perception.Spatial.SpatialCoordinateSystem)
41
+ def try_get_bounds(self, coordinate_system: windows_perception_spatial.SpatialCoordinateSystem, /) -> windows_perception_spatial.SpatialBoundingOrientedBox | None: ...
42
+ # System.Guid Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::get_Id()
43
+ @_property
44
+ def id(self) -> _uuid.UUID: ...
45
+ # Windows.Foundation.DateTime Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo::get_UpdateTime()
46
+ @_property
47
+ def update_time(self) -> datetime.datetime: ...
48
+
49
+ @typing.final
50
+ class SpatialSurfaceMesh(winrt.system.Object):
51
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
52
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
53
+ # Windows.Perception.Spatial.SpatialCoordinateSystem Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_CoordinateSystem()
54
+ @_property
55
+ def coordinate_system(self) -> windows_perception_spatial.SpatialCoordinateSystem: ...
56
+ # Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_SurfaceInfo()
57
+ @_property
58
+ def surface_info(self) -> SpatialSurfaceInfo: ...
59
+ # Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_TriangleIndices()
60
+ @_property
61
+ def triangle_indices(self) -> SpatialSurfaceMeshBuffer: ...
62
+ # Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_VertexNormals()
63
+ @_property
64
+ def vertex_normals(self) -> SpatialSurfaceMeshBuffer: ...
65
+ # Windows.Foundation.Numerics.Vector3 Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_VertexPositionScale()
66
+ @_property
67
+ def vertex_position_scale(self) -> windows_foundation_numerics.Vector3: ...
68
+ # Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMesh::get_VertexPositions()
69
+ @_property
70
+ def vertex_positions(self) -> SpatialSurfaceMeshBuffer: ...
71
+
72
+ @typing.final
73
+ class SpatialSurfaceMeshBuffer(winrt.system.Object):
74
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
75
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
76
+ # Windows.Storage.Streams.IBuffer Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_Data()
77
+ @_property
78
+ def data(self) -> windows_storage_streams.IBuffer: ...
79
+ # System.UInt32 Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_ElementCount()
80
+ @_property
81
+ def element_count(self) -> winrt.system.UInt32: ...
82
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_Format()
83
+ @_property
84
+ def format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
85
+ # System.UInt32 Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshBuffer::get_Stride()
86
+ @_property
87
+ def stride(self) -> winrt.system.UInt32: ...
88
+
89
+ @typing.final
90
+ class SpatialSurfaceMeshOptions_Static(winrt.system.Object_Static):
91
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Graphics.DirectX.DirectXPixelFormat> Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_SupportedTriangleIndexFormats()
92
+ @_property
93
+ def supported_triangle_index_formats(cls) -> _cabc.Sequence[windows_graphics_directx.DirectXPixelFormat]: ...
94
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Graphics.DirectX.DirectXPixelFormat> Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_SupportedVertexNormalFormats()
95
+ @_property
96
+ def supported_vertex_normal_formats(cls) -> _cabc.Sequence[windows_graphics_directx.DirectXPixelFormat]: ...
97
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Graphics.DirectX.DirectXPixelFormat> Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_SupportedVertexPositionFormats()
98
+ @_property
99
+ def supported_vertex_position_formats(cls) -> _cabc.Sequence[windows_graphics_directx.DirectXPixelFormat]: ...
100
+
101
+ @typing.final
102
+ class SpatialSurfaceMeshOptions(winrt.system.Object, metaclass=SpatialSurfaceMeshOptions_Static):
103
+ def __new__(cls) -> typing.Self: ...
104
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_VertexPositionFormat()
105
+ @_property
106
+ def vertex_position_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
107
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_VertexPositionFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
108
+ @vertex_position_format.setter
109
+ def vertex_position_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
110
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_VertexNormalFormat()
111
+ @_property
112
+ def vertex_normal_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
113
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_VertexNormalFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
114
+ @vertex_normal_format.setter
115
+ def vertex_normal_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
116
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_TriangleIndexFormat()
117
+ @_property
118
+ def triangle_index_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
119
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_TriangleIndexFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
120
+ @triangle_index_format.setter
121
+ def triangle_index_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
122
+ # System.Boolean Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::get_IncludeVertexNormals()
123
+ @_property
124
+ def include_vertex_normals(self) -> bool: ...
125
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceMeshOptions::put_IncludeVertexNormals(System.Boolean)
126
+ @include_vertex_normals.setter
127
+ def include_vertex_normals(self, value: bool) -> None: ...
128
+
129
+ @typing.final
130
+ class SpatialSurfaceObserver_Static(winrt.system.Object_Static):
131
+ # System.Boolean Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::IsSupported()
132
+ def is_supported(cls) -> bool: ...
133
+ # Windows.Foundation.IAsyncOperation`1<Windows.Perception.Spatial.SpatialPerceptionAccessStatus> Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::RequestAccessAsync()
134
+ def request_access_async(cls) -> windows_foundation.IAsyncOperation[windows_perception_spatial.SpatialPerceptionAccessStatus]: ...
135
+
136
+ @typing.final
137
+ class SpatialSurfaceObserver(winrt.system.Object, metaclass=SpatialSurfaceObserver_Static):
138
+ def __new__(cls) -> typing.Self: ...
139
+ # Windows.Foundation.Collections.IMapView`2<System.Guid,Windows.Perception.Spatial.Surfaces.SpatialSurfaceInfo> Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::GetObservedSurfaces()
140
+ def get_observed_surfaces(self) -> _cabc.Mapping[_uuid.UUID, SpatialSurfaceInfo]: ...
141
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::SetBoundingVolume(Windows.Perception.Spatial.SpatialBoundingVolume)
142
+ def set_bounding_volume(self, bounds: windows_perception_spatial.SpatialBoundingVolume, /) -> None: ...
143
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::SetBoundingVolumes(Windows.Foundation.Collections.IIterable`1<Windows.Perception.Spatial.SpatialBoundingVolume>)
144
+ def set_bounding_volumes(self, bounds: _cabc.Iterable[windows_perception_spatial.SpatialBoundingVolume], /) -> None: ...
145
+ # Windows.Foundation.EventRegistrationToken Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::add_ObservedSurfacesChanged(Windows.Foundation.TypedEventHandler`2<Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver,System.Object>)
146
+ def add_observed_surfaces_changed(self, handler: windows_foundation.TypedEventHandler[SpatialSurfaceObserver, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
147
+ # System.Void Windows.Perception.Spatial.Surfaces.SpatialSurfaceObserver::remove_ObservedSurfacesChanged(Windows.Foundation.EventRegistrationToken)
148
+ def remove_observed_surfaces_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
149
+
File without changes
@@ -0,0 +1,51 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.Perception.Spatial.Surfaces
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.Perception.Spatial.Surfaces 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>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation-numerics[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-graphics-directx[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-perception-spatial[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
33
+ Description-Content-Type: text/markdown
34
+
35
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
36
+
37
+ # winrt-Windows.Perception.Spatial.Surfaces
38
+
39
+ Windows Runtime (WinRT) APIs for the `Windows.Perception.Spatial.Surfaces` namespace.
40
+
41
+ This package provides the `winrt.windows.perception.spatial.surfaces` module.
42
+
43
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
44
+ `Microsoft.Windows.SDK.CPP` NuGet package.
45
+
46
+ ```
47
+ pip install winrt-Windows.Perception.Spatial.Surfaces
48
+ ```
49
+
50
+ Other WinRT namespaces are packages of their own, so install the package of
51
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/perception/spatial/surfaces/__init__.py,sha256=pcOFntjPddLYaTdqz3_eluUYsaN8V571gLWXaBbTaYk,478
2
+ winrt/windows/perception/spatial/surfaces/__init__.pyi,sha256=WYmSVag1XhTx2B9LNRvI7OGBoWHMXnxtzREGJgujRN8,11220
3
+ winrt/windows/perception/spatial/surfaces/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/perception/spatial/surfaces/_table.pywinrt,sha256=MLpqZUYPkB7-GMcypIjAsZTLzPbHmCX-3oMRF_4yEuc,23664
5
+ winrt_windows_perception_spatial_surfaces-4!10.0.28000.2705.dist-info/METADATA,sha256=Ag5GNR-Phqilj4LJqFl0qgZ6u5iKLiipuR3WA7U6VVA,2431
6
+ winrt_windows_perception_spatial_surfaces-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_perception_spatial_surfaces-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_perception_spatial_surfaces-4!10.0.28000.2705.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