open-space-toolkit-mathematics 4.4.0__py313-none-manylinux2014_x86_64.whl → 4.4.1__py313-none-manylinux2014_x86_64.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.
Potentially problematic release.
This version of open-space-toolkit-mathematics might be problematic. Click here for more details.
- {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/METADATA +1 -1
- {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/RECORD +21 -22
- ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-313-x86_64-linux-gnu.so +0 -0
- ostk/mathematics/geometry/__init__.pyi +4 -4
- ostk/mathematics/geometry/d2/__init__.pyi +5 -5
- ostk/mathematics/geometry/d2/object.pyi +8 -8
- ostk/mathematics/geometry/d3/__init__.pyi +6 -6
- ostk/mathematics/geometry/d3/object.pyi +32 -32
- ostk/mathematics/geometry/d3/transformation/rotation.pyi +31 -31
- ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
- ostk/mathematics/object.pyi +1 -1
- ostk/mathematics/solver.pyi +3 -3
- ostk/mathematics/test/geometry/d2/conftest.py +6 -9
- ostk/mathematics/test/geometry/d2/object/test_composite.py +4 -7
- ostk/mathematics/test/geometry/d2/object/test_multipolygon.py +3 -10
- ostk/mathematics/test/geometry/d2/object/test_point_set.py +3 -6
- ostk/mathematics/test/geometry/d3/object/test_point_set.py +5 -8
- ostk/mathematics/test/solver/test_numerical_solver.py +2 -2
- ostk/mathematics/py.typed +0 -0
- {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/WHEEL +0 -0
- {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_mathematics-4.4.0.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/zip-safe +0 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
ostk/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
2
|
-
ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-313-x86_64-linux-gnu.so,sha256=
|
|
2
|
+
ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-313-x86_64-linux-gnu.so,sha256=uv9Jd-_A9nnBHoyi7xSKqaRWk4igboKD4iiOwTCU8yw,1779608
|
|
3
3
|
ostk/mathematics/__init__.py,sha256=U81I6jh2hIPyuT4dtZjNcLi-CQ8yXIvtFn32tVK1YCY,92
|
|
4
4
|
ostk/mathematics/__init__.pyi,sha256=J_InNBNyrZgyfVQ-r8PVZq37Wb9kM0acE4BZW2Jwo14,484
|
|
5
|
-
ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=
|
|
6
|
-
ostk/mathematics/object.pyi,sha256=
|
|
7
|
-
ostk/mathematics/
|
|
8
|
-
ostk/mathematics/solver.pyi,sha256=i38tbVDHD15NKnn6KYQP-xexVG5muIhpJ2ewcYY3WSw,5592
|
|
5
|
+
ostk/mathematics/libopen-space-toolkit-mathematics.so.4,sha256=LpZavMRtj8RaO_vZPQH-MZxnxiNrwdk_vO1-k_8CJck,91615856
|
|
6
|
+
ostk/mathematics/object.pyi,sha256=GhzjD1zilRpLR81Dugbgw34u_picpFCsHbXnfcNG_6g,4345
|
|
7
|
+
ostk/mathematics/solver.pyi,sha256=ZNJn_75YfkAxO_wSdrlJdE_SlYMjLJbCyK-JH8-8zns,5620
|
|
9
8
|
ostk/mathematics/curve_fitting/__init__.pyi,sha256=1zdh7bItrqhSU1hNZngSSDUGP-8jjGDCxIlF-EyNr_A,2213
|
|
10
9
|
ostk/mathematics/curve_fitting/interpolator.pyi,sha256=YokiLmQJEsPg2MfhWg9FAVZW6uvZPyXFJ2RQFUmy3to,1781
|
|
11
|
-
ostk/mathematics/geometry/__init__.pyi,sha256=
|
|
12
|
-
ostk/mathematics/geometry/d2/__init__.pyi,sha256
|
|
13
|
-
ostk/mathematics/geometry/d2/object.pyi,sha256=
|
|
14
|
-
ostk/mathematics/geometry/d3/__init__.pyi,sha256=
|
|
15
|
-
ostk/mathematics/geometry/d3/object.pyi,sha256=
|
|
10
|
+
ostk/mathematics/geometry/__init__.pyi,sha256=8ENgdmtq_rwBBCMfj2qKkHcW3s2XlfmgifuHYO5_Q78,5640
|
|
11
|
+
ostk/mathematics/geometry/d2/__init__.pyi,sha256=-J0SGA1CHZRHw9SMl1D2Ev445sORpc4abV6b-Zwcozc,9977
|
|
12
|
+
ostk/mathematics/geometry/d2/object.pyi,sha256=7OaWmMMejIkZlUpByrOE8PSLVAINpNI7BPD3GjszTWE,12726
|
|
13
|
+
ostk/mathematics/geometry/d3/__init__.pyi,sha256=M2fDaiR9KSavt2oKLOoGNxhTyEdnIdjhae2HrD-IejU,10622
|
|
14
|
+
ostk/mathematics/geometry/d3/object.pyi,sha256=WkcyTDWqW85aMm4fAd2WTB0tI1jeUQefvf09XgQiitc,25862
|
|
16
15
|
ostk/mathematics/geometry/d3/transformation/__init__.pyi,sha256=wjoTgfldZsg2a26-4iRZd_FyMFFWRYa2FfQmm55-4b0,81
|
|
17
|
-
ostk/mathematics/geometry/d3/transformation/rotation.pyi,sha256=
|
|
16
|
+
ostk/mathematics/geometry/d3/transformation/rotation.pyi,sha256=XrykxhMzJGb-HdZJmVZ8M8Fup29WJIhIaoc6EyykBAA,14321
|
|
18
17
|
ostk/mathematics/test/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
19
18
|
ostk/mathematics/test/test_object.py,sha256=WtksTu9zz8_UNkQYKLO64nNBFDBkRWM_DXFuAWTdKUM,1027
|
|
20
19
|
ostk/mathematics/test/curve_fitting/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
@@ -26,16 +25,16 @@ ostk/mathematics/test/curve_fitting/interpolator/test_linear.py,sha256=9axYpdxqQ
|
|
|
26
25
|
ostk/mathematics/test/geometry/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
27
26
|
ostk/mathematics/test/geometry/test_angle.py,sha256=HOzlWUApgN6LN0g0Zts0cFQ6In_nmbYpFb3CnWWHVR0,10136
|
|
28
27
|
ostk/mathematics/test/geometry/d2/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
29
|
-
ostk/mathematics/test/geometry/d2/conftest.py,sha256=
|
|
28
|
+
ostk/mathematics/test/geometry/d2/conftest.py,sha256=YmbYbVERGClW1ICbGDiMG3d0XYgtH8JNQbOVjlgXh8o,1762
|
|
30
29
|
ostk/mathematics/test/geometry/d2/test_object.py,sha256=JwyeSL4JIR8LY2is0SJKdoTeKiJINDv4b8uFd6dY75c,546
|
|
31
30
|
ostk/mathematics/test/geometry/d2/test_transformation.py,sha256=WEG_qVZFx-0wZB6Qn3uHKBGdEJ04fq5Vds2Kqx_YkO0,2095
|
|
32
31
|
ostk/mathematics/test/geometry/d2/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
33
|
-
ostk/mathematics/test/geometry/d2/object/test_composite.py,sha256=
|
|
32
|
+
ostk/mathematics/test/geometry/d2/object/test_composite.py,sha256=t_ap8UXmvRK7vgyHIXh36Oym_UJa6bHmJFFBr3O6kfM,2751
|
|
34
33
|
ostk/mathematics/test/geometry/d2/object/test_line.py,sha256=Dr0uHk-gFLJcsC69W1DBCvvipLlAbTVPBxigJGKXORQ,1433
|
|
35
34
|
ostk/mathematics/test/geometry/d2/object/test_linestring.py,sha256=EucjDiSSQ2Ab3-huWtfanE6Cb0Jazb78LUuiFnpe8Mo,5933
|
|
36
|
-
ostk/mathematics/test/geometry/d2/object/test_multipolygon.py,sha256=
|
|
35
|
+
ostk/mathematics/test/geometry/d2/object/test_multipolygon.py,sha256=qjgX71axIqKPUGCazdYgv0rbJTJfq-LcEDjnDEhfaok,3469
|
|
37
36
|
ostk/mathematics/test/geometry/d2/object/test_point.py,sha256=Eoq1FAYB6W4yrjpassgG9PRb3Zdg2DOjpmTZZuNiQ9M,6457
|
|
38
|
-
ostk/mathematics/test/geometry/d2/object/test_point_set.py,sha256=
|
|
37
|
+
ostk/mathematics/test/geometry/d2/object/test_point_set.py,sha256=sM8P1SWoNL8lNw1kZdSQbD_5WkGGRwiRtgpmnolHvzk,3319
|
|
39
38
|
ostk/mathematics/test/geometry/d2/object/test_polygon.py,sha256=fHEJDXmzgl24-eQ3gMGIBwNZsEa-3F6_8T6eLzaVgFI,12621
|
|
40
39
|
ostk/mathematics/test/geometry/d2/object/test_segment.py,sha256=M1QTkseGo1ADeslcEl5JzlQEc_1-1LpBV4av_FuPX7E,3072
|
|
41
40
|
ostk/mathematics/test/geometry/d3/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
@@ -48,7 +47,7 @@ ostk/mathematics/test/geometry/d3/object/test_cuboid.py,sha256=xJp6ImRnkNw_k6Tt8
|
|
|
48
47
|
ostk/mathematics/test/geometry/d3/object/test_line.py,sha256=d-CvDjXeH1WQcleCU2yt4FdHLhWgy45NGzn3mEwy6xE,1690
|
|
49
48
|
ostk/mathematics/test/geometry/d3/object/test_linestring.py,sha256=L2gEJGDOaP17RgbLbX0-kBjskW_MrPLxVyf_l9yyxag,5938
|
|
50
49
|
ostk/mathematics/test/geometry/d3/object/test_point.py,sha256=-5Cjy3Pru3UWbMO7vBDNiJYfUkqVVxxZtDgsMYYaosc,6611
|
|
51
|
-
ostk/mathematics/test/geometry/d3/object/test_point_set.py,sha256=
|
|
50
|
+
ostk/mathematics/test/geometry/d3/object/test_point_set.py,sha256=nE20GLaghjPqAB9EuCd66wsYX4KC2Gs_CSWcsmqaCQM,3587
|
|
52
51
|
ostk/mathematics/test/geometry/d3/object/test_polygon.py,sha256=7ZjucWMsNzppN3pptxHgGgOtOGv1grseT7VnctgOJP4,4262
|
|
53
52
|
ostk/mathematics/test/geometry/d3/object/test_segment.py,sha256=HWg-BCJoa74EgWlvUPd85v_qR2p9THi0ejhtG0EQNEA,4027
|
|
54
53
|
ostk/mathematics/test/geometry/d3/objects/test_cuboid.py,sha256=uIDwPbkygXFIopKc2kayKYgadNfOKD_zxf3w2J4DfTY,471
|
|
@@ -61,9 +60,9 @@ ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_vector.p
|
|
|
61
60
|
ostk/mathematics/test/object/__init__.py,sha256=epnVn2PwdQkUDZ1msqBRO5nEZIOUBIq-IfK3IlNPijE,21
|
|
62
61
|
ostk/mathematics/test/object/test_interval.py,sha256=rf7tL-m76inO18rzxopkWrk-cSjKhoN5xXek6e53wAU,21708
|
|
63
62
|
ostk/mathematics/test/object/test_vector.py,sha256=5MG3s8vhgoGKAIc5GzswlZObyIrJDIPNtsEd5wNORPU,76
|
|
64
|
-
ostk/mathematics/test/solver/test_numerical_solver.py,sha256=
|
|
65
|
-
open_space_toolkit_mathematics-4.4.
|
|
66
|
-
open_space_toolkit_mathematics-4.4.
|
|
67
|
-
open_space_toolkit_mathematics-4.4.
|
|
68
|
-
open_space_toolkit_mathematics-4.4.
|
|
69
|
-
open_space_toolkit_mathematics-4.4.
|
|
63
|
+
ostk/mathematics/test/solver/test_numerical_solver.py,sha256=NS9XS6Z2dBzeKnUBiIflObGzd5DM1KVAoH1SBd3DXDc,5700
|
|
64
|
+
open_space_toolkit_mathematics-4.4.1.dist-info/METADATA,sha256=I_0SXMbq0Qen5eyB4gN0YVWha79hIS4iDHbyhut5HUg,1804
|
|
65
|
+
open_space_toolkit_mathematics-4.4.1.dist-info/WHEEL,sha256=tYxIONYs3ivmw21Nz6roIs7SUMlOyYL1781kzpAyrT8,110
|
|
66
|
+
open_space_toolkit_mathematics-4.4.1.dist-info/top_level.txt,sha256=zOR18699uDYnafgarhL8WU_LmTZY_5NVqutv-flp_x4,5
|
|
67
|
+
open_space_toolkit_mathematics-4.4.1.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
68
|
+
open_space_toolkit_mathematics-4.4.1.dist-info/RECORD,,
|
|
Binary file
|
|
@@ -92,10 +92,10 @@ class Angle:
|
|
|
92
92
|
def revolutions(value: ostk.core.type.Real) -> Angle:
|
|
93
93
|
...
|
|
94
94
|
@staticmethod
|
|
95
|
-
def string_from_unit(unit:
|
|
95
|
+
def string_from_unit(unit: typing.Any) -> ostk.core.type.String:
|
|
96
96
|
...
|
|
97
97
|
@staticmethod
|
|
98
|
-
def symbol_from_unit(unit:
|
|
98
|
+
def symbol_from_unit(unit: typing.Any) -> ostk.core.type.String:
|
|
99
99
|
...
|
|
100
100
|
@staticmethod
|
|
101
101
|
def two_pi() -> Angle:
|
|
@@ -114,7 +114,7 @@ class Angle:
|
|
|
114
114
|
...
|
|
115
115
|
def __imul__(self, arg0: ostk.core.type.Real) -> Angle:
|
|
116
116
|
...
|
|
117
|
-
def __init__(self, value: ostk.core.type.Real, unit:
|
|
117
|
+
def __init__(self, value: ostk.core.type.Real, unit: typing.Any) -> None:
|
|
118
118
|
...
|
|
119
119
|
def __isub__(self, arg0: Angle) -> Angle:
|
|
120
120
|
...
|
|
@@ -164,7 +164,7 @@ class Angle:
|
|
|
164
164
|
...
|
|
165
165
|
def in_revolutions(self) -> ostk.core.type.Real:
|
|
166
166
|
...
|
|
167
|
-
def in_unit(self, unit:
|
|
167
|
+
def in_unit(self, unit: typing.Any) -> ostk.core.type.Real:
|
|
168
168
|
...
|
|
169
169
|
def is_defined(self) -> bool:
|
|
170
170
|
...
|
|
@@ -86,7 +86,7 @@ class Intersection:
|
|
|
86
86
|
def segment(segment: object.Segment) -> Intersection:
|
|
87
87
|
...
|
|
88
88
|
@staticmethod
|
|
89
|
-
def string_from_type(arg0:
|
|
89
|
+
def string_from_type(arg0: typing.Any) -> ostk.core.type.String:
|
|
90
90
|
...
|
|
91
91
|
@staticmethod
|
|
92
92
|
def undefined() -> Intersection:
|
|
@@ -197,7 +197,7 @@ class Object:
|
|
|
197
197
|
...
|
|
198
198
|
def __str__(self) -> str:
|
|
199
199
|
...
|
|
200
|
-
def apply_transformation(self, transformation:
|
|
200
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
201
201
|
...
|
|
202
202
|
def contains(self, object: Object) -> bool:
|
|
203
203
|
...
|
|
@@ -272,13 +272,13 @@ class Transformation:
|
|
|
272
272
|
def identity() -> Transformation:
|
|
273
273
|
...
|
|
274
274
|
@staticmethod
|
|
275
|
-
def rotation(rotation_angle:
|
|
275
|
+
def rotation(rotation_angle: typing.Any) -> Transformation:
|
|
276
276
|
...
|
|
277
277
|
@staticmethod
|
|
278
|
-
def rotation_around(point: object.Point, rotation_angle:
|
|
278
|
+
def rotation_around(point: object.Point, rotation_angle: typing.Any) -> Transformation:
|
|
279
279
|
...
|
|
280
280
|
@staticmethod
|
|
281
|
-
def string_from_type(type:
|
|
281
|
+
def string_from_type(type: typing.Any) -> ostk.core.type.String:
|
|
282
282
|
...
|
|
283
283
|
@staticmethod
|
|
284
284
|
def translation(transaction_vector: numpy.ndarray[numpy.float64[2, 1]]) -> Transformation:
|
|
@@ -37,7 +37,7 @@ class Composite(ostk.mathematics.geometry.d2.Object):
|
|
|
37
37
|
@typing.overload
|
|
38
38
|
def any_contains(self, composite: Composite) -> bool:
|
|
39
39
|
...
|
|
40
|
-
def apply_transformation(self, transformation:
|
|
40
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
41
41
|
...
|
|
42
42
|
def as_composite(self) -> Composite:
|
|
43
43
|
...
|
|
@@ -106,7 +106,7 @@ class Line(ostk.mathematics.geometry.d2.Object):
|
|
|
106
106
|
...
|
|
107
107
|
def __str__(self) -> str:
|
|
108
108
|
...
|
|
109
|
-
def apply_transformation(self, transformation:
|
|
109
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
110
110
|
...
|
|
111
111
|
@typing.overload
|
|
112
112
|
def contains(self, point: Point) -> bool:
|
|
@@ -148,7 +148,7 @@ class LineString(ostk.mathematics.geometry.d2.Object):
|
|
|
148
148
|
...
|
|
149
149
|
def __str__(self) -> str:
|
|
150
150
|
...
|
|
151
|
-
def apply_transformation(self, transformation:
|
|
151
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
152
152
|
...
|
|
153
153
|
def get_point_closest_to(self, point: Point) -> Point:
|
|
154
154
|
...
|
|
@@ -183,7 +183,7 @@ class MultiPolygon(ostk.mathematics.geometry.d2.Object):
|
|
|
183
183
|
...
|
|
184
184
|
def __str__(self) -> str:
|
|
185
185
|
...
|
|
186
|
-
def apply_transformation(self, transformation:
|
|
186
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
187
187
|
...
|
|
188
188
|
@typing.overload
|
|
189
189
|
def contains(self, point: Point) -> bool:
|
|
@@ -235,7 +235,7 @@ class Point(ostk.mathematics.geometry.d2.Object):
|
|
|
235
235
|
@typing.overload
|
|
236
236
|
def __sub__(self, arg0: numpy.ndarray[numpy.float64[2, 1]]) -> Point:
|
|
237
237
|
...
|
|
238
|
-
def apply_transformation(self, transformation:
|
|
238
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
239
239
|
...
|
|
240
240
|
def as_vector(self) -> numpy.ndarray[numpy.float64[2, 1]]:
|
|
241
241
|
...
|
|
@@ -275,7 +275,7 @@ class PointSet(ostk.mathematics.geometry.d2.Object):
|
|
|
275
275
|
...
|
|
276
276
|
def __str__(self) -> str:
|
|
277
277
|
...
|
|
278
|
-
def apply_transformation(self, transformation:
|
|
278
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
279
279
|
...
|
|
280
280
|
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
281
281
|
...
|
|
@@ -313,7 +313,7 @@ class Polygon(ostk.mathematics.geometry.d2.Object):
|
|
|
313
313
|
...
|
|
314
314
|
def __str__(self) -> str:
|
|
315
315
|
...
|
|
316
|
-
def apply_transformation(self, transformation:
|
|
316
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
317
317
|
...
|
|
318
318
|
@typing.overload
|
|
319
319
|
def contains(self, point: Point) -> bool:
|
|
@@ -373,7 +373,7 @@ class Segment(ostk.mathematics.geometry.d2.Object):
|
|
|
373
373
|
...
|
|
374
374
|
def __str__(self) -> str:
|
|
375
375
|
...
|
|
376
|
-
def apply_transformation(self, transformation:
|
|
376
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
377
377
|
...
|
|
378
378
|
@typing.overload
|
|
379
379
|
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
@@ -96,7 +96,7 @@ class Intersection:
|
|
|
96
96
|
def segment(segment: object.Segment) -> Intersection:
|
|
97
97
|
...
|
|
98
98
|
@staticmethod
|
|
99
|
-
def string_from_type(type:
|
|
99
|
+
def string_from_type(type: typing.Any) -> ostk.core.type.String:
|
|
100
100
|
...
|
|
101
101
|
@staticmethod
|
|
102
102
|
def undefined() -> Intersection:
|
|
@@ -184,7 +184,7 @@ class Object:
|
|
|
184
184
|
...
|
|
185
185
|
def __str__(self) -> str:
|
|
186
186
|
...
|
|
187
|
-
def apply_transformation(self, transformation:
|
|
187
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
188
188
|
...
|
|
189
189
|
def as_ellipsoid(self) -> ...:
|
|
190
190
|
...
|
|
@@ -304,17 +304,17 @@ class Transformation:
|
|
|
304
304
|
...
|
|
305
305
|
@staticmethod
|
|
306
306
|
@typing.overload
|
|
307
|
-
def rotation(rotation_vector:
|
|
307
|
+
def rotation(rotation_vector: typing.Any) -> Transformation:
|
|
308
308
|
...
|
|
309
309
|
@staticmethod
|
|
310
310
|
@typing.overload
|
|
311
|
-
def rotation(rotation_matrix:
|
|
311
|
+
def rotation(rotation_matrix: typing.Any) -> Transformation:
|
|
312
312
|
...
|
|
313
313
|
@staticmethod
|
|
314
|
-
def rotation_around(point: object.Point, rotation_vector:
|
|
314
|
+
def rotation_around(point: object.Point, rotation_vector: typing.Any) -> Transformation:
|
|
315
315
|
...
|
|
316
316
|
@staticmethod
|
|
317
|
-
def string_from_type(type:
|
|
317
|
+
def string_from_type(type: typing.Any) -> ostk.core.type.String:
|
|
318
318
|
...
|
|
319
319
|
@staticmethod
|
|
320
320
|
def translation(translation_vector: numpy.ndarray[numpy.float64[3, 1]]) -> Transformation:
|
|
@@ -32,7 +32,7 @@ class Composite(ostk.mathematics.geometry.d3.Object):
|
|
|
32
32
|
...
|
|
33
33
|
def access_object_at(self, index: int) -> ostk.mathematics.geometry.d3.Object:
|
|
34
34
|
...
|
|
35
|
-
def apply_transformation(self, transformation:
|
|
35
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
36
36
|
...
|
|
37
37
|
def as_composite(self) -> Composite:
|
|
38
38
|
...
|
|
@@ -120,7 +120,7 @@ class Cone(ostk.mathematics.geometry.d3.Object):
|
|
|
120
120
|
...
|
|
121
121
|
def __eq__(self, arg0: Cone) -> bool:
|
|
122
122
|
...
|
|
123
|
-
def __init__(self, apex: Point, axis: numpy.ndarray[numpy.float64[3, 1]], angle:
|
|
123
|
+
def __init__(self, apex: Point, axis: numpy.ndarray[numpy.float64[3, 1]], angle: typing.Any) -> None:
|
|
124
124
|
...
|
|
125
125
|
def __ne__(self, arg0: Cone) -> bool:
|
|
126
126
|
...
|
|
@@ -128,7 +128,7 @@ class Cone(ostk.mathematics.geometry.d3.Object):
|
|
|
128
128
|
...
|
|
129
129
|
def __str__(self) -> str:
|
|
130
130
|
...
|
|
131
|
-
def apply_transformation(self, transformation:
|
|
131
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
132
132
|
...
|
|
133
133
|
@typing.overload
|
|
134
134
|
def contains(self, point: Point) -> bool:
|
|
@@ -193,7 +193,7 @@ class Cuboid(ostk.mathematics.geometry.d3.Object):
|
|
|
193
193
|
...
|
|
194
194
|
def __str__(self) -> str:
|
|
195
195
|
...
|
|
196
|
-
def apply_transformation(self, transformation:
|
|
196
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
197
197
|
...
|
|
198
198
|
def get_center(self) -> Point:
|
|
199
199
|
...
|
|
@@ -241,7 +241,7 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
|
|
|
241
241
|
def __init__(self, center: Point, first_principal_semi_axis: ostk.core.type.Real, second_principal_semi_axis: ostk.core.type.Real, third_principal_semi_axis: ostk.core.type.Real) -> None:
|
|
242
242
|
...
|
|
243
243
|
@typing.overload
|
|
244
|
-
def __init__(self, center: Point, first_principal_semi_axis: ostk.core.type.Real, second_principal_semi_axis: ostk.core.type.Real, third_principal_semi_axis: ostk.core.type.Real, orientation:
|
|
244
|
+
def __init__(self, center: Point, first_principal_semi_axis: ostk.core.type.Real, second_principal_semi_axis: ostk.core.type.Real, third_principal_semi_axis: ostk.core.type.Real, orientation: typing.Any) -> None:
|
|
245
245
|
...
|
|
246
246
|
def __ne__(self, arg0: Ellipsoid) -> bool:
|
|
247
247
|
...
|
|
@@ -249,7 +249,7 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
|
|
|
249
249
|
...
|
|
250
250
|
def __str__(self) -> str:
|
|
251
251
|
...
|
|
252
|
-
def apply_transformation(self, transformation:
|
|
252
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
253
253
|
...
|
|
254
254
|
@typing.overload
|
|
255
255
|
def contains(self, point: Point) -> bool:
|
|
@@ -288,10 +288,10 @@ class Ellipsoid(ostk.mathematics.geometry.d3.Object):
|
|
|
288
288
|
def intersection(self, segment: Segment) -> ...:
|
|
289
289
|
...
|
|
290
290
|
@typing.overload
|
|
291
|
-
def intersection(self, pyramid:
|
|
291
|
+
def intersection(self, pyramid: typing.Any, only_in_sight: bool) -> ...:
|
|
292
292
|
...
|
|
293
293
|
@typing.overload
|
|
294
|
-
def intersection(self, cone:
|
|
294
|
+
def intersection(self, cone: typing.Any, only_in_sight: bool) -> ...:
|
|
295
295
|
...
|
|
296
296
|
@typing.overload
|
|
297
297
|
def intersects(self, point: Point) -> bool:
|
|
@@ -334,7 +334,7 @@ class Line(ostk.mathematics.geometry.d3.Object):
|
|
|
334
334
|
...
|
|
335
335
|
def __str__(self) -> str:
|
|
336
336
|
...
|
|
337
|
-
def apply_transformation(self, transformation:
|
|
337
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
338
338
|
...
|
|
339
339
|
@typing.overload
|
|
340
340
|
def contains(self, point: Point) -> bool:
|
|
@@ -348,19 +348,19 @@ class Line(ostk.mathematics.geometry.d3.Object):
|
|
|
348
348
|
...
|
|
349
349
|
def get_origin(self) -> Point:
|
|
350
350
|
...
|
|
351
|
-
def intersection_with(self, plane:
|
|
351
|
+
def intersection_with(self, plane: typing.Any) -> ...:
|
|
352
352
|
...
|
|
353
353
|
@typing.overload
|
|
354
354
|
def intersects(self, point: Point) -> bool:
|
|
355
355
|
...
|
|
356
356
|
@typing.overload
|
|
357
|
-
def intersects(self, plane:
|
|
357
|
+
def intersects(self, plane: typing.Any) -> bool:
|
|
358
358
|
...
|
|
359
359
|
@typing.overload
|
|
360
|
-
def intersects(self, sphere:
|
|
360
|
+
def intersects(self, sphere: typing.Any) -> bool:
|
|
361
361
|
...
|
|
362
362
|
@typing.overload
|
|
363
|
-
def intersects(self, ellipsoid:
|
|
363
|
+
def intersects(self, ellipsoid: typing.Any) -> bool:
|
|
364
364
|
...
|
|
365
365
|
def is_defined(self) -> bool:
|
|
366
366
|
...
|
|
@@ -393,7 +393,7 @@ class LineString(ostk.mathematics.geometry.d3.Object):
|
|
|
393
393
|
...
|
|
394
394
|
def access_point_at(self, index: int) -> Point:
|
|
395
395
|
...
|
|
396
|
-
def apply_transformation(self, transformation:
|
|
396
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
397
397
|
...
|
|
398
398
|
def get_point_closest_to(self, point: Point) -> Point:
|
|
399
399
|
...
|
|
@@ -423,7 +423,7 @@ class Plane(ostk.mathematics.geometry.d3.Object):
|
|
|
423
423
|
...
|
|
424
424
|
def __str__(self) -> str:
|
|
425
425
|
...
|
|
426
|
-
def apply_transformation(self, transformation:
|
|
426
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
427
427
|
...
|
|
428
428
|
@typing.overload
|
|
429
429
|
def contains(self, point: Point) -> bool:
|
|
@@ -508,7 +508,7 @@ class Point(ostk.mathematics.geometry.d3.Object):
|
|
|
508
508
|
@typing.overload
|
|
509
509
|
def __sub__(self, arg0: Point) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
510
510
|
...
|
|
511
|
-
def apply_transformation(self, transformation:
|
|
511
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
512
512
|
...
|
|
513
513
|
def as_vector(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
514
514
|
...
|
|
@@ -550,7 +550,7 @@ class PointSet(ostk.mathematics.geometry.d3.Object):
|
|
|
550
550
|
...
|
|
551
551
|
def __str__(self) -> str:
|
|
552
552
|
...
|
|
553
|
-
def apply_transformation(self, transformation:
|
|
553
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
554
554
|
...
|
|
555
555
|
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
556
556
|
...
|
|
@@ -582,7 +582,7 @@ class Polygon(ostk.mathematics.geometry.d3.Object):
|
|
|
582
582
|
...
|
|
583
583
|
def __str__(self) -> str:
|
|
584
584
|
...
|
|
585
|
-
def apply_transformation(self, transformation:
|
|
585
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
586
586
|
...
|
|
587
587
|
def get_edge_at(self, index: int) -> Segment:
|
|
588
588
|
...
|
|
@@ -626,7 +626,7 @@ class Pyramid(ostk.mathematics.geometry.d3.Object):
|
|
|
626
626
|
...
|
|
627
627
|
def __str__(self) -> str:
|
|
628
628
|
...
|
|
629
|
-
def apply_transformation(self, transformation:
|
|
629
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
630
630
|
...
|
|
631
631
|
@typing.overload
|
|
632
632
|
def contains(self, point: Point) -> bool:
|
|
@@ -680,7 +680,7 @@ class Ray(ostk.mathematics.geometry.d3.Object):
|
|
|
680
680
|
...
|
|
681
681
|
def __str__(self) -> str:
|
|
682
682
|
...
|
|
683
|
-
def apply_transformation(self, transformation:
|
|
683
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
684
684
|
...
|
|
685
685
|
@typing.overload
|
|
686
686
|
def contains(self, point: Point) -> bool:
|
|
@@ -695,25 +695,25 @@ class Ray(ostk.mathematics.geometry.d3.Object):
|
|
|
695
695
|
def get_origin(self) -> Point:
|
|
696
696
|
...
|
|
697
697
|
@typing.overload
|
|
698
|
-
def intersection_with(self, plane:
|
|
698
|
+
def intersection_with(self, plane: typing.Any) -> ...:
|
|
699
699
|
...
|
|
700
700
|
@typing.overload
|
|
701
|
-
def intersection_with(self, sphere:
|
|
701
|
+
def intersection_with(self, sphere: typing.Any, only_in_sight: bool = False) -> ...:
|
|
702
702
|
...
|
|
703
703
|
@typing.overload
|
|
704
|
-
def intersection_with(self, ellipsoid:
|
|
704
|
+
def intersection_with(self, ellipsoid: typing.Any, only_in_sight: bool = False) -> ...:
|
|
705
705
|
...
|
|
706
706
|
@typing.overload
|
|
707
707
|
def intersects(self, point: Point) -> bool:
|
|
708
708
|
...
|
|
709
709
|
@typing.overload
|
|
710
|
-
def intersects(self, plane:
|
|
710
|
+
def intersects(self, plane: typing.Any) -> bool:
|
|
711
711
|
...
|
|
712
712
|
@typing.overload
|
|
713
|
-
def intersects(self, sphere:
|
|
713
|
+
def intersects(self, sphere: typing.Any) -> bool:
|
|
714
714
|
...
|
|
715
715
|
@typing.overload
|
|
716
|
-
def intersects(self, ellipsoid:
|
|
716
|
+
def intersects(self, ellipsoid: typing.Any) -> bool:
|
|
717
717
|
...
|
|
718
718
|
def is_defined(self) -> bool:
|
|
719
719
|
...
|
|
@@ -735,7 +735,7 @@ class Segment(ostk.mathematics.geometry.d3.Object):
|
|
|
735
735
|
...
|
|
736
736
|
def __str__(self) -> str:
|
|
737
737
|
...
|
|
738
|
-
def apply_transformation(self, transformation:
|
|
738
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
739
739
|
...
|
|
740
740
|
def contains(self, point: Point) -> bool:
|
|
741
741
|
...
|
|
@@ -755,16 +755,16 @@ class Segment(ostk.mathematics.geometry.d3.Object):
|
|
|
755
755
|
...
|
|
756
756
|
def get_second_point(self) -> Point:
|
|
757
757
|
...
|
|
758
|
-
def intersection_with(self, plane:
|
|
758
|
+
def intersection_with(self, plane: typing.Any) -> ...:
|
|
759
759
|
...
|
|
760
760
|
@typing.overload
|
|
761
|
-
def intersects(self, plane:
|
|
761
|
+
def intersects(self, plane: typing.Any) -> bool:
|
|
762
762
|
...
|
|
763
763
|
@typing.overload
|
|
764
|
-
def intersects(self, sphere:
|
|
764
|
+
def intersects(self, sphere: typing.Any) -> bool:
|
|
765
765
|
...
|
|
766
766
|
@typing.overload
|
|
767
|
-
def intersects(self, ellipsoid:
|
|
767
|
+
def intersects(self, ellipsoid: typing.Any) -> bool:
|
|
768
768
|
...
|
|
769
769
|
def is_defined(self) -> bool:
|
|
770
770
|
...
|
|
@@ -793,7 +793,7 @@ class Sphere(ostk.mathematics.geometry.d3.Object):
|
|
|
793
793
|
...
|
|
794
794
|
def __str__(self) -> str:
|
|
795
795
|
...
|
|
796
|
-
def apply_transformation(self, transformation:
|
|
796
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
797
797
|
...
|
|
798
798
|
@typing.overload
|
|
799
799
|
def contains(self, point: Point) -> bool:
|
|
@@ -55,13 +55,13 @@ class EulerAngle:
|
|
|
55
55
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
56
56
|
...
|
|
57
57
|
@staticmethod
|
|
58
|
-
def quaternion(quaternion: Quaternion, axis_sequence:
|
|
58
|
+
def quaternion(quaternion: Quaternion, axis_sequence: typing.Any) -> EulerAngle:
|
|
59
59
|
...
|
|
60
60
|
@staticmethod
|
|
61
|
-
def rotation_matrix(rotation_matrix: RotationMatrix, axis_sequence:
|
|
61
|
+
def rotation_matrix(rotation_matrix: RotationMatrix, axis_sequence: typing.Any) -> EulerAngle:
|
|
62
62
|
...
|
|
63
63
|
@staticmethod
|
|
64
|
-
def rotation_vector(rotation_vector: RotationVector, axis_sequence:
|
|
64
|
+
def rotation_vector(rotation_vector: RotationVector, axis_sequence: typing.Any) -> EulerAngle:
|
|
65
65
|
...
|
|
66
66
|
@staticmethod
|
|
67
67
|
def undefined() -> EulerAngle:
|
|
@@ -70,21 +70,21 @@ class EulerAngle:
|
|
|
70
70
|
def unit() -> EulerAngle:
|
|
71
71
|
...
|
|
72
72
|
@staticmethod
|
|
73
|
-
def xyz(phi:
|
|
73
|
+
def xyz(phi: typing.Any, theta: typing.Any, psi: typing.Any) -> EulerAngle:
|
|
74
74
|
...
|
|
75
75
|
@staticmethod
|
|
76
|
-
def zxy(phi:
|
|
76
|
+
def zxy(phi: typing.Any, theta: typing.Any, psi: typing.Any) -> EulerAngle:
|
|
77
77
|
...
|
|
78
78
|
@staticmethod
|
|
79
|
-
def zyx(phi:
|
|
79
|
+
def zyx(phi: typing.Any, theta: typing.Any, psi: typing.Any) -> EulerAngle:
|
|
80
80
|
...
|
|
81
81
|
def __eq__(self, arg0: EulerAngle) -> bool:
|
|
82
82
|
...
|
|
83
83
|
@typing.overload
|
|
84
|
-
def __init__(self, phi:
|
|
84
|
+
def __init__(self, phi: typing.Any, theta: typing.Any, psi: typing.Any, axis_sequence: typing.Any) -> None:
|
|
85
85
|
...
|
|
86
86
|
@typing.overload
|
|
87
|
-
def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit:
|
|
87
|
+
def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit: typing.Any, axis_sequence: typing.Any) -> None:
|
|
88
88
|
...
|
|
89
89
|
def __ne__(self, arg0: EulerAngle) -> bool:
|
|
90
90
|
...
|
|
@@ -94,7 +94,7 @@ class EulerAngle:
|
|
|
94
94
|
...
|
|
95
95
|
def is_defined(self) -> bool:
|
|
96
96
|
...
|
|
97
|
-
def is_near(self, euler_angle: EulerAngle, angular_tolerance:
|
|
97
|
+
def is_near(self, euler_angle: EulerAngle, angular_tolerance: typing.Any) -> bool:
|
|
98
98
|
...
|
|
99
99
|
def is_unitary(self) -> bool:
|
|
100
100
|
...
|
|
@@ -102,9 +102,9 @@ class EulerAngle:
|
|
|
102
102
|
def to_string(self) -> ostk.core.type.String:
|
|
103
103
|
...
|
|
104
104
|
@typing.overload
|
|
105
|
-
def to_string(self, angle_unit:
|
|
105
|
+
def to_string(self, angle_unit: typing.Any) -> ostk.core.type.String:
|
|
106
106
|
...
|
|
107
|
-
def to_vector(self, angle_unit:
|
|
107
|
+
def to_vector(self, angle_unit: typing.Any) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
108
108
|
...
|
|
109
109
|
@property
|
|
110
110
|
def axis_sequence(self) -> ...:
|
|
@@ -164,7 +164,7 @@ class Quaternion:
|
|
|
164
164
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
165
165
|
...
|
|
166
166
|
@staticmethod
|
|
167
|
-
def euler_angle(euler_angle:
|
|
167
|
+
def euler_angle(euler_angle: typing.Any) -> Quaternion:
|
|
168
168
|
...
|
|
169
169
|
@staticmethod
|
|
170
170
|
def lerp(first_quaternion: Quaternion, second_quaternion: Quaternion, ratio: ostk.core.type.Real) -> Quaternion:
|
|
@@ -173,13 +173,13 @@ class Quaternion:
|
|
|
173
173
|
def nlerp(first_quaternion: Quaternion, second_quaternion: Quaternion, ratio: ostk.core.type.Real) -> Quaternion:
|
|
174
174
|
...
|
|
175
175
|
@staticmethod
|
|
176
|
-
def parse(string: ostk.core.type.String, format:
|
|
176
|
+
def parse(string: ostk.core.type.String, format: typing.Any) -> Quaternion:
|
|
177
177
|
...
|
|
178
178
|
@staticmethod
|
|
179
|
-
def rotation_matrix(rotation_matrix:
|
|
179
|
+
def rotation_matrix(rotation_matrix: typing.Any) -> Quaternion:
|
|
180
180
|
...
|
|
181
181
|
@staticmethod
|
|
182
|
-
def rotation_vector(rotation_vector:
|
|
182
|
+
def rotation_vector(rotation_vector: typing.Any) -> Quaternion:
|
|
183
183
|
...
|
|
184
184
|
@staticmethod
|
|
185
185
|
def shortest_rotation(first_vector: numpy.ndarray[numpy.float64[3, 1]], second_vector: numpy.ndarray[numpy.float64[3, 1]]) -> Quaternion:
|
|
@@ -203,10 +203,10 @@ class Quaternion:
|
|
|
203
203
|
def __iadd__(self, arg0: Quaternion) -> Quaternion:
|
|
204
204
|
...
|
|
205
205
|
@typing.overload
|
|
206
|
-
def __init__(self, first_component: ostk.core.type.Real, second_component: ostk.core.type.Real, third_component: ostk.core.type.Real, fourth_component: ostk.core.type.Real, format:
|
|
206
|
+
def __init__(self, first_component: ostk.core.type.Real, second_component: ostk.core.type.Real, third_component: ostk.core.type.Real, fourth_component: ostk.core.type.Real, format: typing.Any) -> None:
|
|
207
207
|
...
|
|
208
208
|
@typing.overload
|
|
209
|
-
def __init__(self, vector: numpy.ndarray[numpy.float64[4, 1]], format:
|
|
209
|
+
def __init__(self, vector: numpy.ndarray[numpy.float64[4, 1]], format: typing.Any) -> None:
|
|
210
210
|
...
|
|
211
211
|
@typing.overload
|
|
212
212
|
def __init__(self, vector_part: numpy.ndarray[numpy.float64[3, 1]], scalar_part: ostk.core.type.Real) -> None:
|
|
@@ -255,7 +255,7 @@ class Quaternion:
|
|
|
255
255
|
...
|
|
256
256
|
def is_defined(self) -> bool:
|
|
257
257
|
...
|
|
258
|
-
def is_near(self, quaternion: Quaternion, angular_tolerance:
|
|
258
|
+
def is_near(self, quaternion: Quaternion, angular_tolerance: typing.Any) -> bool:
|
|
259
259
|
...
|
|
260
260
|
def is_unitary(self, norm_tolerance: ostk.core.type.Real = ...) -> bool:
|
|
261
261
|
...
|
|
@@ -283,9 +283,9 @@ class Quaternion:
|
|
|
283
283
|
def to_string(self) -> ostk.core.type.String:
|
|
284
284
|
...
|
|
285
285
|
@typing.overload
|
|
286
|
-
def to_string(self, arg0:
|
|
286
|
+
def to_string(self, arg0: typing.Any) -> ostk.core.type.String:
|
|
287
287
|
...
|
|
288
|
-
def to_vector(self, format:
|
|
288
|
+
def to_vector(self, format: typing.Any) -> numpy.ndarray[numpy.float64[4, 1]]:
|
|
289
289
|
...
|
|
290
290
|
def x(self) -> ostk.core.type.Real:
|
|
291
291
|
...
|
|
@@ -302,7 +302,7 @@ class RotationMatrix:
|
|
|
302
302
|
def columns(first_column: numpy.ndarray[numpy.float64[3, 1]], second_column: numpy.ndarray[numpy.float64[3, 1]], third_column: numpy.ndarray[numpy.float64[3, 1]]) -> RotationMatrix:
|
|
303
303
|
...
|
|
304
304
|
@staticmethod
|
|
305
|
-
def euler_angle(euler_angle:
|
|
305
|
+
def euler_angle(euler_angle: typing.Any) -> RotationMatrix:
|
|
306
306
|
...
|
|
307
307
|
@staticmethod
|
|
308
308
|
def quaternion(quaternion: Quaternion) -> RotationMatrix:
|
|
@@ -314,13 +314,13 @@ class RotationMatrix:
|
|
|
314
314
|
def rows(first_row: numpy.ndarray[numpy.float64[3, 1]], second_row: numpy.ndarray[numpy.float64[3, 1]], third_row: numpy.ndarray[numpy.float64[3, 1]]) -> RotationMatrix:
|
|
315
315
|
...
|
|
316
316
|
@staticmethod
|
|
317
|
-
def rx(rotation_angle:
|
|
317
|
+
def rx(rotation_angle: typing.Any) -> RotationMatrix:
|
|
318
318
|
...
|
|
319
319
|
@staticmethod
|
|
320
|
-
def ry(rotation_angle:
|
|
320
|
+
def ry(rotation_angle: typing.Any) -> RotationMatrix:
|
|
321
321
|
...
|
|
322
322
|
@staticmethod
|
|
323
|
-
def rz(rotation_angle:
|
|
323
|
+
def rz(rotation_angle: typing.Any) -> RotationMatrix:
|
|
324
324
|
...
|
|
325
325
|
@staticmethod
|
|
326
326
|
def undefined() -> RotationMatrix:
|
|
@@ -366,13 +366,13 @@ class RotationVector:
|
|
|
366
366
|
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
367
367
|
...
|
|
368
368
|
@staticmethod
|
|
369
|
-
def euler_angle(euler_angle:
|
|
369
|
+
def euler_angle(euler_angle: typing.Any) -> RotationVector:
|
|
370
370
|
...
|
|
371
371
|
@staticmethod
|
|
372
372
|
def quaternion(quaternion: Quaternion) -> RotationVector:
|
|
373
373
|
...
|
|
374
374
|
@staticmethod
|
|
375
|
-
def rotation_matrix(rotation_matrix:
|
|
375
|
+
def rotation_matrix(rotation_matrix: typing.Any) -> RotationVector:
|
|
376
376
|
...
|
|
377
377
|
@staticmethod
|
|
378
378
|
def undefined() -> RotationVector:
|
|
@@ -381,21 +381,21 @@ class RotationVector:
|
|
|
381
381
|
def unit() -> RotationVector:
|
|
382
382
|
...
|
|
383
383
|
@staticmethod
|
|
384
|
-
def x(angle:
|
|
384
|
+
def x(angle: typing.Any) -> RotationVector:
|
|
385
385
|
...
|
|
386
386
|
@staticmethod
|
|
387
|
-
def y(angle:
|
|
387
|
+
def y(angle: typing.Any) -> RotationVector:
|
|
388
388
|
...
|
|
389
389
|
@staticmethod
|
|
390
|
-
def z(angle:
|
|
390
|
+
def z(angle: typing.Any) -> RotationVector:
|
|
391
391
|
...
|
|
392
392
|
def __eq__(self, arg0: RotationVector) -> bool:
|
|
393
393
|
...
|
|
394
394
|
@typing.overload
|
|
395
|
-
def __init__(self, axis: numpy.ndarray[numpy.float64[3, 1]], angle:
|
|
395
|
+
def __init__(self, axis: numpy.ndarray[numpy.float64[3, 1]], angle: typing.Any) -> None:
|
|
396
396
|
...
|
|
397
397
|
@typing.overload
|
|
398
|
-
def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit:
|
|
398
|
+
def __init__(self, vector: numpy.ndarray[numpy.float64[3, 1]], angle_unit: typing.Any) -> None:
|
|
399
399
|
...
|
|
400
400
|
def __ne__(self, arg0: RotationVector) -> bool:
|
|
401
401
|
...
|
|
Binary file
|
ostk/mathematics/object.pyi
CHANGED
|
@@ -91,7 +91,7 @@ class RealInterval:
|
|
|
91
91
|
...
|
|
92
92
|
def __eq__(self, arg0: RealInterval) -> bool:
|
|
93
93
|
...
|
|
94
|
-
def __init__(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real, type:
|
|
94
|
+
def __init__(self, lower_bound: ostk.core.type.Real, upper_bound: ostk.core.type.Real, type: typing.Any) -> None:
|
|
95
95
|
...
|
|
96
96
|
def __ne__(self, arg0: RealInterval) -> bool:
|
|
97
97
|
...
|
ostk/mathematics/solver.pyi
CHANGED
|
@@ -101,17 +101,17 @@ class NumericalSolver:
|
|
|
101
101
|
def default() -> NumericalSolver:
|
|
102
102
|
...
|
|
103
103
|
@staticmethod
|
|
104
|
-
def string_from_log_type(log_type:
|
|
104
|
+
def string_from_log_type(log_type: typing.Any) -> ostk.core.type.String:
|
|
105
105
|
...
|
|
106
106
|
@staticmethod
|
|
107
|
-
def string_from_stepper_type(stepper_type:
|
|
107
|
+
def string_from_stepper_type(stepper_type: typing.Any) -> ostk.core.type.String:
|
|
108
108
|
...
|
|
109
109
|
@staticmethod
|
|
110
110
|
def undefined() -> NumericalSolver:
|
|
111
111
|
...
|
|
112
112
|
def __eq__(self, arg0: NumericalSolver) -> bool:
|
|
113
113
|
...
|
|
114
|
-
def __init__(self, log_type:
|
|
114
|
+
def __init__(self, log_type: typing.Any, stepper_type: typing.Any, time_step: ostk.core.type.Real, relative_tolerance: ostk.core.type.Real, absolute_tolerance: ostk.core.type.Real) -> None:
|
|
115
115
|
...
|
|
116
116
|
def __ne__(self, arg0: NumericalSolver) -> bool:
|
|
117
117
|
...
|
|
@@ -4,15 +4,12 @@ import pytest
|
|
|
4
4
|
|
|
5
5
|
import numpy as np
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
Segment = mathematics.geometry.d2.object.Segment
|
|
14
|
-
Polygon = mathematics.geometry.d2.object.Polygon
|
|
15
|
-
Composite = mathematics.geometry.d2.object.Composite
|
|
7
|
+
from ostk.mathematics.geometry.d2.object import Point
|
|
8
|
+
from ostk.mathematics.geometry.d2.object import PointSet
|
|
9
|
+
from ostk.mathematics.geometry.d2.object import Line
|
|
10
|
+
from ostk.mathematics.geometry.d2.object import Segment
|
|
11
|
+
from ostk.mathematics.geometry.d2.object import Polygon
|
|
12
|
+
from ostk.mathematics.geometry.d2.object import Composite
|
|
16
13
|
|
|
17
14
|
|
|
18
15
|
@pytest.fixture
|
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
import pytest
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Point = mathematics.geometry.d2.object.Point
|
|
10
|
-
Polygon = mathematics.geometry.d2.object.Polygon
|
|
11
|
-
Composite = mathematics.geometry.d2.object.Composite
|
|
5
|
+
from ostk.mathematics.geometry.d2 import Object
|
|
6
|
+
from ostk.mathematics.geometry.d2.object import Point
|
|
7
|
+
from ostk.mathematics.geometry.d2.object import Polygon
|
|
8
|
+
from ostk.mathematics.geometry.d2.object import Composite
|
|
12
9
|
|
|
13
10
|
|
|
14
11
|
class TestComposite:
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
# Apache License 2.0
|
|
2
2
|
|
|
3
|
-
import pytest
|
|
4
|
-
|
|
5
3
|
import numpy as np
|
|
6
4
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
from ostk.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object = mathematics.geometry.d2.Object
|
|
13
|
-
Polygon = mathematics.geometry.d2.object.Polygon
|
|
14
|
-
MultiPolygon = mathematics.geometry.d2.object.MultiPolygon
|
|
5
|
+
from ostk.mathematics.geometry.d2 import Object
|
|
6
|
+
from ostk.mathematics.geometry.d2.object import Polygon
|
|
7
|
+
from ostk.mathematics.geometry.d2.object import MultiPolygon
|
|
15
8
|
|
|
16
9
|
|
|
17
10
|
class TestMultipolygon:
|
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
from collections.abc import Iterator, Iterable
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object = mathematics.geometry.d2.Object
|
|
9
|
-
Point = mathematics.geometry.d2.object.Point
|
|
10
|
-
PointSet = mathematics.geometry.d2.object.PointSet
|
|
5
|
+
from ostk.mathematics.geometry.d2 import Object
|
|
6
|
+
from ostk.mathematics.geometry.d2.object import Point
|
|
7
|
+
from ostk.mathematics.geometry.d2.object import PointSet
|
|
11
8
|
|
|
12
9
|
|
|
13
10
|
class TestPointSet:
|
|
@@ -4,13 +4,10 @@ from collections.abc import Iterator, Iterable
|
|
|
4
4
|
|
|
5
5
|
import pytest
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Point = mathematics.geometry.d3.object.Point
|
|
12
|
-
PointSet = mathematics.geometry.d3.object.PointSet
|
|
13
|
-
Transformation = mathematics.geometry.d3.Transformation
|
|
7
|
+
from ostk.mathematics.geometry.d3 import Object
|
|
8
|
+
from ostk.mathematics.geometry.d3 import Transformation
|
|
9
|
+
from ostk.mathematics.geometry.d3.object import Point
|
|
10
|
+
from ostk.mathematics.geometry.d3.object import PointSet
|
|
14
11
|
|
|
15
12
|
|
|
16
13
|
@pytest.fixture
|
|
@@ -52,7 +49,7 @@ class TestPointSet:
|
|
|
52
49
|
assert point_set.is_defined()
|
|
53
50
|
|
|
54
51
|
def test_empty_success(self):
|
|
55
|
-
point_set:
|
|
52
|
+
point_set: PointSet = PointSet.empty()
|
|
56
53
|
|
|
57
54
|
assert point_set is not None
|
|
58
55
|
assert isinstance(point_set, PointSet)
|
|
@@ -133,7 +133,7 @@ class TestNumericalSolver:
|
|
|
133
133
|
assert 5e-9 >= abs(state_vector[0] - math.sin(integration_duration))
|
|
134
134
|
assert 5e-9 >= abs(state_vector[1] - math.cos(integration_duration))
|
|
135
135
|
|
|
136
|
-
integration_durations = np.arange(100.0, 200.0, 50.0)
|
|
136
|
+
integration_durations = np.arange(100.0, 200.0, 50.0).astype(float)
|
|
137
137
|
solutions = numerical_solver.integrate_duration(
|
|
138
138
|
initial_state_vec, integration_durations, oscillator
|
|
139
139
|
)
|
|
@@ -157,7 +157,7 @@ class TestNumericalSolver:
|
|
|
157
157
|
assert 5e-9 >= abs(state_vector[0] - math.sin(end_time))
|
|
158
158
|
assert 5e-9 >= abs(state_vector[1] - math.cos(end_time))
|
|
159
159
|
|
|
160
|
-
end_times = np.arange(600.0, 700.0, 50.0)
|
|
160
|
+
end_times = np.arange(600.0, 700.0, 50.0).astype(float)
|
|
161
161
|
solutions = numerical_solver.integrate_time(
|
|
162
162
|
initial_state_vec, start_time, end_times, oscillator
|
|
163
163
|
)
|
ostk/mathematics/py.typed
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|