engeom 0.2.6__cp38-abi3-win_amd64.whl → 0.2.7__cp38-abi3-win_amd64.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.
engeom/engeom.pyd
CHANGED
Binary file
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"""
|
2
|
+
This module provides a number of classes and functions for working with 3D raster (voxel) data.
|
3
|
+
"""
|
4
|
+
|
5
|
+
from ..engeom import _raster3
|
6
|
+
|
7
|
+
# Global import of all functions
|
8
|
+
for name in [n for n in dir(_raster3) if not n.startswith("_")]:
|
9
|
+
globals()[name] = getattr(_raster3, name)
|
engeom/raster3.pyi
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
|
3
|
+
from typing import List
|
4
|
+
|
5
|
+
from numpy.typing import NDArray
|
6
|
+
|
7
|
+
def clusters_from_sparse(indices: NDArray[int]) -> List[NDArray[int]]:
|
8
|
+
"""
|
9
|
+
Find clusters of connected voxel indices from a sparse array of voxel coordinates. The input array should be a Nx3
|
10
|
+
array of integer voxel indices. The output is a list of arrays, where each array contains the indices of a single
|
11
|
+
cluster of connected voxels.
|
12
|
+
|
13
|
+
The connectivity is defined as 26-connectivity, i.e. each voxel is connected to all neighbors with which it shares
|
14
|
+
at least one corner.
|
15
|
+
|
16
|
+
:param indices: Nx3 array of voxel indices
|
17
|
+
:return: List of arrays, each containing a Mx3 numpy array of the indices of a single cluster of connected voxels
|
18
|
+
"""
|
19
|
+
...
|
@@ -1,5 +1,5 @@
|
|
1
|
-
engeom-0.2.
|
2
|
-
engeom-0.2.
|
1
|
+
engeom-0.2.7.dist-info/METADATA,sha256=l4kyI3OQAPNlQO0i4sA_QzrrbVZfBVXA-Typl8O3AtU,497
|
2
|
+
engeom-0.2.7.dist-info/WHEEL,sha256=hKPP3BCTWtTwj6SFaSI--T5aOGqh_llYfbZ_BsqivwA,94
|
3
3
|
engeom/airfoil/__init__.py,sha256=gpS9pVepUu90XJ-ePndNupbUMKI0RGxNXPxD9x0iVHY,274
|
4
4
|
engeom/airfoil.pyi,sha256=VTeJBoS9Iij7p-92R7jCqzPasHmvAUocyzc6BSx7mvM,23557
|
5
5
|
engeom/align/__init__.py,sha256=SEeMqeqLKqJC73Mg8GwPwd9NwWnl-dcCqJ4rPdh8yyc,196
|
@@ -12,10 +12,12 @@ engeom/geom3.pyi,sha256=ZW37Pg2SLA74RTUmz0Ac82UmLTFm6K9BSHG_rWeX-Ro,55237
|
|
12
12
|
engeom/metrology/__init__.py,sha256=XvEhG8uDm1olWwZHDDrQv9LFP5zXhbsGx27PqRq8WE0,304
|
13
13
|
engeom/metrology.pyi,sha256=9I5un86VB_2gmQBrVYhX8JzILTUADMLB9Em8ttJxrWg,4044
|
14
14
|
engeom/plot.py,sha256=2b81-dW7aKKC1TjoDtRmppFKpzQOia7w6c4T2pExN0E,1065
|
15
|
+
engeom/raster3/__init__.py,sha256=iaayLrvco-ZMZPyeK47ox7rYne_51DNb2T2Q0iNNeKE,289
|
16
|
+
engeom/raster3.pyi,sha256=sBXXYXcDBiDU_OFDQiwa7Q3GcwSiUc4CLy6nJ1MwFqM,790
|
15
17
|
engeom/_plot/common.py,sha256=Py78ufN3yi59hPwv21SoGcqyZUJS-_PmK8tlAKgSG7Q,517
|
16
18
|
engeom/_plot/matplotlib.py,sha256=tTk4Fu6hDVxP1655koeT9B0JxkoURTr30ZyBV_jzTi8,11643
|
17
19
|
engeom/_plot/pyvista.py,sha256=-G7ZxJQVfLLsVQP03jRRuu-F3Gq3bQxectBVS2L-bdk,10454
|
18
20
|
engeom/_plot/__init__.py,sha256=F_KviZtxzZGwfEjjn8Ep46N4UVl8VpFJWBzbBUE_J7A,30
|
19
21
|
engeom/__init__.py,sha256=kYgFq3jq1quDfV013wEYQMlUBz4QNSpP6u8lFiuTHvc,115
|
20
|
-
engeom/engeom.pyd,sha256=
|
21
|
-
engeom-0.2.
|
22
|
+
engeom/engeom.pyd,sha256=jUOWeKKvqB8LWZOY2Dxio-p5K9uUBRr5R2JblYLmhdQ,2360832
|
23
|
+
engeom-0.2.7.dist-info/RECORD,,
|