coordinate-system 2.1.3__cp313-cp313-win_amd64.whl → 2.3.1__cp313-cp313-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.
- coordinate_system/__init__.py +61 -1
- coordinate_system/coordinate_system.cp313-win_amd64.pyd +0 -0
- coordinate_system/curvature.py +784 -0
- coordinate_system/differential_geometry.py +779 -0
- {coordinate_system-2.1.3.dist-info → coordinate_system-2.3.1.dist-info}/METADATA +165 -5
- coordinate_system-2.3.1.dist-info/RECORD +9 -0
- coordinate_system-2.1.3.dist-info/RECORD +0 -7
- {coordinate_system-2.1.3.dist-info → coordinate_system-2.3.1.dist-info}/LICENSE +0 -0
- {coordinate_system-2.1.3.dist-info → coordinate_system-2.3.1.dist-info}/WHEEL +0 -0
- {coordinate_system-2.1.3.dist-info → coordinate_system-2.3.1.dist-info}/top_level.txt +0 -0
coordinate_system/__init__.py
CHANGED
|
@@ -4,7 +4,67 @@ from .coordinate_system import vec3, vec2
|
|
|
4
4
|
from .coordinate_system import quat
|
|
5
5
|
from .coordinate_system import coord3
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
# Differential geometry module (v2.2.0+)
|
|
8
|
+
from .differential_geometry import (
|
|
9
|
+
# Classes
|
|
10
|
+
Surface,
|
|
11
|
+
Sphere,
|
|
12
|
+
Torus,
|
|
13
|
+
MetricTensor,
|
|
14
|
+
ConnectionOperator,
|
|
15
|
+
|
|
16
|
+
# Main functions
|
|
17
|
+
compute_metric,
|
|
18
|
+
compute_connection,
|
|
19
|
+
compute_curvature_tensor,
|
|
20
|
+
compute_gaussian_curvature,
|
|
21
|
+
|
|
22
|
+
# Aliases
|
|
23
|
+
compute_frame_derivative,
|
|
24
|
+
compute_intrinsic_gradient,
|
|
25
|
+
compute_geometric_gradient,
|
|
26
|
+
compute_metric_tensor,
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
# High-precision curvature computation module (v2.3.0+)
|
|
30
|
+
from .curvature import (
|
|
31
|
+
# Main class
|
|
32
|
+
CurvatureCalculator,
|
|
33
|
+
|
|
34
|
+
# Simplified functions
|
|
35
|
+
gaussian_curvature,
|
|
36
|
+
mean_curvature,
|
|
37
|
+
principal_curvatures,
|
|
38
|
+
all_curvatures,
|
|
39
|
+
|
|
40
|
+
# Utility functions
|
|
41
|
+
derivative_5pt,
|
|
42
|
+
derivative_2nd_5pt,
|
|
43
|
+
richardson_extrapolation,
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
__all__ = [
|
|
47
|
+
# Core types
|
|
48
|
+
'vec3', 'vec2', 'quat', 'coord3', 'lerp',
|
|
49
|
+
|
|
50
|
+
# Differential geometry classes (v2.2.0+)
|
|
51
|
+
'Surface', 'Sphere', 'Torus',
|
|
52
|
+
'MetricTensor', 'ConnectionOperator',
|
|
53
|
+
|
|
54
|
+
# Differential geometry functions (v2.2.0+)
|
|
55
|
+
'compute_metric', 'compute_connection',
|
|
56
|
+
'compute_curvature_tensor', 'compute_gaussian_curvature',
|
|
57
|
+
|
|
58
|
+
# Aliases
|
|
59
|
+
'compute_frame_derivative', 'compute_intrinsic_gradient',
|
|
60
|
+
'compute_geometric_gradient', 'compute_metric_tensor',
|
|
61
|
+
|
|
62
|
+
# High-precision curvature module (v2.3.0+)
|
|
63
|
+
'CurvatureCalculator',
|
|
64
|
+
'gaussian_curvature', 'mean_curvature',
|
|
65
|
+
'principal_curvatures', 'all_curvatures',
|
|
66
|
+
'derivative_5pt', 'derivative_2nd_5pt', 'richardson_extrapolation',
|
|
67
|
+
]
|
|
8
68
|
|
|
9
69
|
# Constants for unit vectors and zero point
|
|
10
70
|
ZERO3 = vec3(0.0, 0.0, 0.0) # Zero vector (origin point)
|
|
Binary file
|