coordinate-system 2.3.3__tar.gz → 2.3.4__tar.gz

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.
Files changed (18) hide show
  1. {coordinate_system-2.3.3/coordinate_system.egg-info → coordinate_system-2.3.4}/PKG-INFO +1 -1
  2. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system/differential_geometry.py +2 -2
  3. {coordinate_system-2.3.3 → coordinate_system-2.3.4/coordinate_system.egg-info}/PKG-INFO +1 -1
  4. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system_binding.cpp +1 -0
  5. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/setup.py +2 -2
  6. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/LICENSE +0 -0
  7. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/MANIFEST.in +0 -0
  8. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/MATHEMATICAL_FOUNDATION.md +0 -0
  9. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/README.md +0 -0
  10. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system/__init__.py +0 -0
  11. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system/curvature.py +0 -0
  12. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system/two_stage_curvature.py +0 -0
  13. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system.egg-info/SOURCES.txt +0 -0
  14. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system.egg-info/dependency_links.txt +0 -0
  15. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system.egg-info/not-zip-safe +0 -0
  16. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/coordinate_system.egg-info/top_level.txt +0 -0
  17. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/pmsys_minimal.hpp +0 -0
  18. {coordinate_system-2.3.3 → coordinate_system-2.3.4}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coordinate_system
3
- Version: 2.3.3
3
+ Version: 2.3.4
4
4
  Summary: High-performance 3D coordinate system library with C++ optimized differential geometry and high-precision discrete curvature computation (Gaussian/Mean/Principal curvatures)
5
5
  Home-page: https://github.com/panguojun/Coordinate-System
6
6
  Author: PanGuoJun
@@ -384,7 +384,7 @@ class ConnectionOperator:
384
384
 
385
385
  # Create coord3 from basis vectors
386
386
  # Use 3-parameter constructor "From three axes" (normalized vectors only, no origin)
387
- return coord3(t_u, t_v, n)
387
+ return coord3(t_u.normcopy(), t_v.normcopy(), n.normcopy())
388
388
 
389
389
  def _compute_embedding_frame(self, u: float, v: float) -> coord3:
390
390
  """
@@ -414,7 +414,7 @@ class ConnectionOperator:
414
414
 
415
415
  # 使用3参数构造函数:自动从向量长度计算scale
416
416
  # 这样保留了度量信息
417
- return coord3(e1, e2, e3)
417
+ return coord3(e1_normalized, e2.normcopy(), e3)
418
418
 
419
419
  def compute(self, u: float, v: float, direction: str = 'u') -> coord3:
420
420
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: coordinate_system
3
- Version: 2.3.3
3
+ Version: 2.3.4
4
4
  Summary: High-performance 3D coordinate system library with C++ optimized differential geometry and high-precision discrete curvature computation (Gaussian/Mean/Principal curvatures)
5
5
  Home-page: https://github.com/panguojun/Coordinate-System
6
6
  Author: PanGuoJun
@@ -321,6 +321,7 @@ PYBIND11_MODULE(coordinate_system, m) {
321
321
  .def("__isub__", [](coord3& self, const vec3& v) { return self -= v; })
322
322
  .def("__neg__", [](const coord3& self) { return -self; })
323
323
  .def("__mul__", [](const coord3& self, const coord3& other) { return self * other; })
324
+ .def("__mul__", [](const coord3& self, const real& scaler) { return self * scaler; })
324
325
  .def("__mul__", [](const coord3& self, const vec3& v) { return self * v; })
325
326
  .def("__mul__", [](const vec3& v, const coord3& c) { return v * c; })
326
327
  .def("__mul__", [](const coord3& self, const quat& q) { return self * q; })
@@ -2,7 +2,7 @@
2
2
  setup.py - Cross-platform setup for coordinate_system package
3
3
 
4
4
  Author: PanGuoJun
5
- Version: 2.3.3
5
+ Version: 2.3.4
6
6
  License: MIT
7
7
  """
8
8
 
@@ -69,7 +69,7 @@ ext_modules = [
69
69
 
70
70
  setup(
71
71
  name='coordinate_system',
72
- version='2.3.3',
72
+ version='2.3.4',
73
73
  packages=find_packages(),
74
74
  ext_modules=ext_modules, # Add extension modules
75
75