engeom 0.2.15__cp38-abi3-win_amd64.whl → 0.2.16__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
engeom/geom3.pyi CHANGED
@@ -537,6 +537,14 @@ class Iso3:
537
537
  Create an isometry from a translation and a quaternion representing the rotation.
538
538
  :return: an isometry containing both translation and rotation components.
539
539
  """
540
+ ...
541
+
542
+ def to_quaternion(self) -> Tuple[float, float, float, float, float, float, float]:
543
+ """
544
+ Convert the isometry to a tuple containing the translation and quaternion components.
545
+ :return: a tuple of 7 floats in the order (tx, ty, tz, i, j, k, w)
546
+ """
547
+ ...
540
548
 
541
549
  @staticmethod
542
550
  def from_translation(x: float, y: float, z: float) -> Iso3:
@@ -1317,6 +1325,18 @@ class Mesh:
1317
1325
  :return: a `SurfacePoint3` object containing the closest point and normal
1318
1326
  """
1319
1327
  ...
1328
+
1329
+ def barycentric_closest_to(self, x: float, y: float, z: float) -> Tuple[int, List[float]]:
1330
+ """
1331
+ Find the closest point on the surface of the mesh to a given point in space, returning the triangle index and
1332
+ the barycentric coordinates of the closest point within that triangle.
1333
+ :param x: the x coordinate of the point to find the closest point to
1334
+ :param y: the y coordinate of the point to find the closest point to
1335
+ :param z: the z coordinate of the point to find the closest point to
1336
+ :return: a tuple containing the triangle index and a list of three barycentric coordinates
1337
+ """
1338
+ ...
1339
+
1320
1340
  def point_closest_to(self, x: float, y: float, z: float) -> Point3:
1321
1341
  """
1322
1342
  Find the closest point on the surface of the mesh to a given point in space, returning the point
@@ -1998,6 +2018,17 @@ class PointCloud:
1998
2018
  """
1999
2019
  ...
2000
2020
 
2021
+ @staticmethod
2022
+ def load_bxyz(path: str | Path) -> PointCloud:
2023
+ """
2024
+ Load a point cloud from a BXYZ file. The BXYZ format is a binary format for storing 3D point clouds with
2025
+ optional normals and colors.
2026
+
2027
+ :param path: the path to the BXYZ file to load.
2028
+ :return: a new `PointCloud` object containing the points, normals, and colors from the BXYZ file.
2029
+ """
2030
+ ...
2031
+
2001
2032
  def append(self, other: PointCloud) -> PointCloud:
2002
2033
  """
2003
2034
  Append another point cloud to this one. The points, normals, and colors from the other point cloud will be
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: engeom
3
- Version: 0.2.15
3
+ Version: 0.2.16
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,5 +1,5 @@
1
- engeom-0.2.15.dist-info/METADATA,sha256=WoxcP2de4LzW9Sr6URHa3m7fL68MYDvBonV6MtEKYm4,340
2
- engeom-0.2.15.dist-info/WHEEL,sha256=lvaVdaNOIbpDjZxhxQcXMmDSpIrmQUI6MiaH-nloUu8,94
1
+ engeom-0.2.16.dist-info/METADATA,sha256=sX-tpGK0jbTlLML0_gcyGd-VcC_Y6Zw7ZdCgHKNnfp0,340
2
+ engeom-0.2.16.dist-info/WHEEL,sha256=F7HFsRl56IeLjGhxiHeG3IpurHNaGNHQJeIy7gdwTO4,94
3
3
  engeom/__init__.py,sha256=kYgFq3jq1quDfV013wEYQMlUBz4QNSpP6u8lFiuTHvc,115
4
4
  engeom/_plot/__init__.py,sha256=F_KviZtxzZGwfEjjn8Ep46N4UVl8VpFJWBzbBUE_J7A,30
5
5
  engeom/_plot/common.py,sha256=Py78ufN3yi59hPwv21SoGcqyZUJS-_PmK8tlAKgSG7Q,517
@@ -9,11 +9,11 @@ engeom/airfoil.pyi,sha256=SivSrUo3LZSVgXwIFJtgUUejhPh71y8rekzBwaX6exI,24165
9
9
  engeom/airfoil/__init__.py,sha256=gpS9pVepUu90XJ-ePndNupbUMKI0RGxNXPxD9x0iVHY,274
10
10
  engeom/align.pyi,sha256=SaC46l0mqANzp3JAtIk4DdXTLtKBrEr9_xW21algMTk,1935
11
11
  engeom/align/__init__.py,sha256=SEeMqeqLKqJC73Mg8GwPwd9NwWnl-dcCqJ4rPdh8yyc,196
12
- engeom/engeom.pyd,sha256=L1mSrY9HAdXdyoru5rJDG4yaAAuTnLgrGE-Y6URJW80,6136320
12
+ engeom/engeom.pyd,sha256=Mich0vgPnElHMKuVb-LLTDY_6UGDCOf0KUQWh1yx8x0,6128640
13
13
  engeom/engeom.pyi,sha256=J0L_D-Sc2laJHL36nUAvIP3eN9BDryAxd_6aMQarlZc,1561
14
14
  engeom/geom2.pyi,sha256=oUSner8BEJzJLv82POfOGyjAESw-McZzPq51o9VbdYg,51601
15
15
  engeom/geom2/__init__.py,sha256=JFpiLyROUh6vyakG-7JDSlCMCn4QB2MQ8bz3uVCaAIk,373
16
- engeom/geom3.pyi,sha256=S6PIfcGDxc4kMZDn6uJO_L-DBepzMnUM8RzjiDkQcOU,92982
16
+ engeom/geom3.pyi,sha256=aO8kj5POqXtHpwV5kNxLJg1yLB9ZhlHadONfgM0NlBw,94397
17
17
  engeom/geom3/__init__.py,sha256=l8B0iDhJ4YiRbslJLN791XWai2DWrpmZptnzIETMS9g,370
18
18
  engeom/metrology.pyi,sha256=9I5un86VB_2gmQBrVYhX8JzILTUADMLB9Em8ttJxrWg,4044
19
19
  engeom/metrology/__init__.py,sha256=XvEhG8uDm1olWwZHDDrQv9LFP5zXhbsGx27PqRq8WE0,304
@@ -22,4 +22,4 @@ engeom/raster3.pyi,sha256=sBXXYXcDBiDU_OFDQiwa7Q3GcwSiUc4CLy6nJ1MwFqM,790
22
22
  engeom/raster3/__init__.py,sha256=iaayLrvco-ZMZPyeK47ox7rYne_51DNb2T2Q0iNNeKE,289
23
23
  engeom/sensors.pyi,sha256=8dQS6PVkbBOdbO17x9UskBOIIh6cP0EILhJXxPVXDNw,4525
24
24
  engeom/sensors/__init__.py,sha256=vy1CXX3gQcaBL25imYmpSAJhlc8v5aDBEBtF6L0PVCs,182
25
- engeom-0.2.15.dist-info/RECORD,,
25
+ engeom-0.2.16.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.3)
2
+ Generator: maturin (1.9.5)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp38-abi3-win_amd64