open-space-toolkit-mathematics 4.4.0__py310-none-manylinux2014_aarch64.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.

Files changed (69) hide show
  1. open_space_toolkit_mathematics-4.4.0.dist-info/METADATA +28 -0
  2. open_space_toolkit_mathematics-4.4.0.dist-info/RECORD +69 -0
  3. open_space_toolkit_mathematics-4.4.0.dist-info/WHEEL +5 -0
  4. open_space_toolkit_mathematics-4.4.0.dist-info/top_level.txt +1 -0
  5. open_space_toolkit_mathematics-4.4.0.dist-info/zip-safe +1 -0
  6. ostk/__init__.py +1 -0
  7. ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-310-aarch64-linux-gnu.so +0 -0
  8. ostk/mathematics/__init__.py +5 -0
  9. ostk/mathematics/__init__.pyi +11 -0
  10. ostk/mathematics/curve_fitting/__init__.pyi +65 -0
  11. ostk/mathematics/curve_fitting/interpolator.pyi +46 -0
  12. ostk/mathematics/geometry/__init__.pyi +178 -0
  13. ostk/mathematics/geometry/d2/__init__.pyi +315 -0
  14. ostk/mathematics/geometry/d2/object.pyi +405 -0
  15. ostk/mathematics/geometry/d3/__init__.pyi +351 -0
  16. ostk/mathematics/geometry/d3/object.pyi +837 -0
  17. ostk/mathematics/geometry/d3/transformation/__init__.pyi +3 -0
  18. ostk/mathematics/geometry/d3/transformation/rotation.pyi +421 -0
  19. ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
  20. ostk/mathematics/object.pyi +123 -0
  21. ostk/mathematics/py.typed +0 -0
  22. ostk/mathematics/solver.pyi +147 -0
  23. ostk/mathematics/test/__init__.py +1 -0
  24. ostk/mathematics/test/curve_fitting/__init__.py +1 -0
  25. ostk/mathematics/test/curve_fitting/interpolator/__init__.py +1 -0
  26. ostk/mathematics/test/curve_fitting/interpolator/test_barycentric_rational.py +34 -0
  27. ostk/mathematics/test/curve_fitting/interpolator/test_cubic_spline.py +45 -0
  28. ostk/mathematics/test/curve_fitting/interpolator/test_interpolator.py +71 -0
  29. ostk/mathematics/test/curve_fitting/interpolator/test_linear.py +35 -0
  30. ostk/mathematics/test/geometry/__init__.py +1 -0
  31. ostk/mathematics/test/geometry/d2/__init__.py +1 -0
  32. ostk/mathematics/test/geometry/d2/conftest.py +82 -0
  33. ostk/mathematics/test/geometry/d2/object/__init__.py +1 -0
  34. ostk/mathematics/test/geometry/d2/object/test_composite.py +96 -0
  35. ostk/mathematics/test/geometry/d2/object/test_line.py +57 -0
  36. ostk/mathematics/test/geometry/d2/object/test_linestring.py +174 -0
  37. ostk/mathematics/test/geometry/d2/object/test_multipolygon.py +101 -0
  38. ostk/mathematics/test/geometry/d2/object/test_point.py +213 -0
  39. ostk/mathematics/test/geometry/d2/object/test_point_set.py +103 -0
  40. ostk/mathematics/test/geometry/d2/object/test_polygon.py +370 -0
  41. ostk/mathematics/test/geometry/d2/object/test_segment.py +104 -0
  42. ostk/mathematics/test/geometry/d2/test_object.py +25 -0
  43. ostk/mathematics/test/geometry/d2/test_transformation.py +84 -0
  44. ostk/mathematics/test/geometry/d3/__init__.py +1 -0
  45. ostk/mathematics/test/geometry/d3/object/__init__.py +1 -0
  46. ostk/mathematics/test/geometry/d3/object/test_composite.py +262 -0
  47. ostk/mathematics/test/geometry/d3/object/test_cuboid.py +20 -0
  48. ostk/mathematics/test/geometry/d3/object/test_line.py +68 -0
  49. ostk/mathematics/test/geometry/d3/object/test_linestring.py +168 -0
  50. ostk/mathematics/test/geometry/d3/object/test_point.py +234 -0
  51. ostk/mathematics/test/geometry/d3/object/test_point_set.py +116 -0
  52. ostk/mathematics/test/geometry/d3/object/test_polygon.py +141 -0
  53. ostk/mathematics/test/geometry/d3/object/test_segment.py +120 -0
  54. ostk/mathematics/test/geometry/d3/objects/test_cuboid.py +20 -0
  55. ostk/mathematics/test/geometry/d3/test_intersection.py +3 -0
  56. ostk/mathematics/test/geometry/d3/test_object.py +3 -0
  57. ostk/mathematics/test/geometry/d3/test_transformation.py +3 -0
  58. ostk/mathematics/test/geometry/d3/transformation/__init__.py +1 -0
  59. ostk/mathematics/test/geometry/d3/transformation/rotation/__init__.py +1 -0
  60. ostk/mathematics/test/geometry/d3/transformation/rotation/test_euler_angle.py +138 -0
  61. ostk/mathematics/test/geometry/d3/transformation/rotation/test_quaternion.py +185 -0
  62. ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_matrix.py +29 -0
  63. ostk/mathematics/test/geometry/d3/transformation/rotation/test_rotation_vector.py +47 -0
  64. ostk/mathematics/test/geometry/test_angle.py +345 -0
  65. ostk/mathematics/test/object/__init__.py +1 -0
  66. ostk/mathematics/test/object/test_interval.py +515 -0
  67. ostk/mathematics/test/object/test_vector.py +5 -0
  68. ostk/mathematics/test/solver/test_numerical_solver.py +176 -0
  69. ostk/mathematics/test/test_object.py +24 -0
@@ -0,0 +1,351 @@
1
+ from __future__ import annotations
2
+ import numpy
3
+ import ostk.core.type
4
+ import typing
5
+ from . import object
6
+ from . import transformation
7
+ __all__ = ['Intersection', 'Object', 'Transformation', 'object', 'transformation']
8
+ class Intersection:
9
+ class Type:
10
+ """
11
+ Members:
12
+
13
+ Undefined
14
+
15
+ Empty
16
+
17
+ Point
18
+
19
+ PointSet
20
+
21
+ Line
22
+
23
+ Ray
24
+
25
+ Segment
26
+
27
+ Plane
28
+
29
+ Sphere
30
+
31
+ Ellipsoid
32
+
33
+ Complex
34
+ """
35
+ Complex: typing.ClassVar[Intersection.Type] # value = <Type.Complex: 14>
36
+ Ellipsoid: typing.ClassVar[Intersection.Type] # value = <Type.Ellipsoid: 12>
37
+ Empty: typing.ClassVar[Intersection.Type] # value = <Type.Empty: 1>
38
+ Line: typing.ClassVar[Intersection.Type] # value = <Type.Line: 4>
39
+ Plane: typing.ClassVar[Intersection.Type] # value = <Type.Plane: 9>
40
+ Point: typing.ClassVar[Intersection.Type] # value = <Type.Point: 2>
41
+ PointSet: typing.ClassVar[Intersection.Type] # value = <Type.PointSet: 3>
42
+ Ray: typing.ClassVar[Intersection.Type] # value = <Type.Ray: 5>
43
+ Segment: typing.ClassVar[Intersection.Type] # value = <Type.Segment: 6>
44
+ Sphere: typing.ClassVar[Intersection.Type] # value = <Type.Sphere: 11>
45
+ Undefined: typing.ClassVar[Intersection.Type] # value = <Type.Undefined: 0>
46
+ __members__: typing.ClassVar[dict[str, Intersection.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Empty': <Type.Empty: 1>, 'Point': <Type.Point: 2>, 'PointSet': <Type.PointSet: 3>, 'Line': <Type.Line: 4>, 'Ray': <Type.Ray: 5>, 'Segment': <Type.Segment: 6>, 'Plane': <Type.Plane: 9>, 'Sphere': <Type.Sphere: 11>, 'Ellipsoid': <Type.Ellipsoid: 12>, 'Complex': <Type.Complex: 14>}
47
+ @staticmethod
48
+ def _pybind11_conduit_v1_(*args, **kwargs):
49
+ ...
50
+ def __eq__(self, other: typing.Any) -> bool:
51
+ ...
52
+ def __getstate__(self) -> int:
53
+ ...
54
+ def __hash__(self) -> int:
55
+ ...
56
+ def __index__(self) -> int:
57
+ ...
58
+ def __init__(self, value: int) -> None:
59
+ ...
60
+ def __int__(self) -> int:
61
+ ...
62
+ def __ne__(self, other: typing.Any) -> bool:
63
+ ...
64
+ def __repr__(self) -> str:
65
+ ...
66
+ def __setstate__(self, state: int) -> None:
67
+ ...
68
+ def __str__(self) -> str:
69
+ ...
70
+ @property
71
+ def name(self) -> str:
72
+ ...
73
+ @property
74
+ def value(self) -> int:
75
+ ...
76
+ __hash__: typing.ClassVar[None] = None
77
+ @staticmethod
78
+ def _pybind11_conduit_v1_(*args, **kwargs):
79
+ ...
80
+ @staticmethod
81
+ def empty() -> Intersection:
82
+ ...
83
+ @staticmethod
84
+ def line(line: object.Line) -> Intersection:
85
+ ...
86
+ @staticmethod
87
+ def point(point: object.Point) -> Intersection:
88
+ ...
89
+ @staticmethod
90
+ def point_set(point_set: object.PointSet) -> Intersection:
91
+ ...
92
+ @staticmethod
93
+ def ray(ray: object.Ray) -> Intersection:
94
+ ...
95
+ @staticmethod
96
+ def segment(segment: object.Segment) -> Intersection:
97
+ ...
98
+ @staticmethod
99
+ def string_from_type(type: ...) -> ostk.core.type.String:
100
+ ...
101
+ @staticmethod
102
+ def undefined() -> Intersection:
103
+ ...
104
+ def __add__(self, arg0: Intersection) -> Intersection:
105
+ ...
106
+ def __eq__(self, arg0: Intersection) -> bool:
107
+ ...
108
+ def __iadd__(self, arg0: Intersection) -> Intersection:
109
+ ...
110
+ def __ne__(self, arg0: Intersection) -> bool:
111
+ ...
112
+ def __repr__(self) -> str:
113
+ ...
114
+ def __str__(self) -> str:
115
+ ...
116
+ def access_composite(self) -> object.Composite:
117
+ ...
118
+ def as_composite(self) -> object.Composite:
119
+ ...
120
+ def as_ellipsoid(self) -> object.Ellipsoid:
121
+ ...
122
+ def as_line(self) -> object.Line:
123
+ ...
124
+ def as_line_string(self) -> object.LineString:
125
+ ...
126
+ def as_plane(self) -> object.Plane:
127
+ ...
128
+ def as_point(self) -> object.Point:
129
+ ...
130
+ def as_point_set(self) -> object.PointSet:
131
+ ...
132
+ def as_polygon(self) -> object.Polygon:
133
+ ...
134
+ def as_pyramid(self) -> object.Pyramid:
135
+ ...
136
+ def as_ray(self) -> object.Ray:
137
+ ...
138
+ def as_segment(self) -> object.Segment:
139
+ ...
140
+ def as_sphere(self) -> object.Sphere:
141
+ ...
142
+ def get_type(self) -> ...:
143
+ ...
144
+ def is_complex(self) -> bool:
145
+ ...
146
+ def is_composite(self) -> bool:
147
+ ...
148
+ def is_defined(self) -> bool:
149
+ ...
150
+ def is_ellipsoid(self) -> bool:
151
+ ...
152
+ def is_empty(self) -> bool:
153
+ ...
154
+ def is_line(self) -> bool:
155
+ ...
156
+ def is_line_string(self) -> bool:
157
+ ...
158
+ def is_plane(self) -> bool:
159
+ ...
160
+ def is_point(self) -> bool:
161
+ ...
162
+ def is_point_set(self) -> bool:
163
+ ...
164
+ def is_polygon(self) -> bool:
165
+ ...
166
+ def is_pyramid(self) -> bool:
167
+ ...
168
+ def is_ray(self) -> bool:
169
+ ...
170
+ def is_segment(self) -> bool:
171
+ ...
172
+ def is_sphere(self) -> bool:
173
+ ...
174
+ class Object:
175
+ __hash__: typing.ClassVar[None] = None
176
+ @staticmethod
177
+ def _pybind11_conduit_v1_(*args, **kwargs):
178
+ ...
179
+ def __eq__(self, arg0: Object) -> bool:
180
+ ...
181
+ def __ne__(self, arg0: Object) -> bool:
182
+ ...
183
+ def __repr__(self) -> str:
184
+ ...
185
+ def __str__(self) -> str:
186
+ ...
187
+ def apply_transformation(self, transformation: ...) -> None:
188
+ ...
189
+ def as_ellipsoid(self) -> ...:
190
+ ...
191
+ def as_line(self) -> ...:
192
+ ...
193
+ def as_line_string(self) -> ...:
194
+ ...
195
+ def as_plane(self) -> ...:
196
+ ...
197
+ def as_point(self) -> ...:
198
+ ...
199
+ def as_point_set(self) -> ...:
200
+ ...
201
+ def as_polygon(self) -> ...:
202
+ ...
203
+ def as_pyramid(self) -> ...:
204
+ ...
205
+ def as_ray(self) -> ...:
206
+ ...
207
+ def as_segment(self) -> ...:
208
+ ...
209
+ def as_sphere(self) -> ...:
210
+ ...
211
+ def contains(self, arg0: Object) -> bool:
212
+ ...
213
+ def intersects(self, arg0: Object) -> bool:
214
+ ...
215
+ def is_defined(self) -> bool:
216
+ ...
217
+ def is_ellipsoid(self) -> bool:
218
+ ...
219
+ def is_line(self) -> bool:
220
+ ...
221
+ def is_line_string(self) -> bool:
222
+ ...
223
+ def is_plane(self) -> bool:
224
+ ...
225
+ def is_point(self) -> bool:
226
+ ...
227
+ def is_point_set(self) -> bool:
228
+ ...
229
+ def is_polygon(self) -> bool:
230
+ ...
231
+ def is_pyramid(self) -> bool:
232
+ ...
233
+ def is_ray(self) -> bool:
234
+ ...
235
+ def is_segment(self) -> bool:
236
+ ...
237
+ def is_sphere(self) -> bool:
238
+ ...
239
+ class Transformation:
240
+ class Type:
241
+ """
242
+ Members:
243
+
244
+ Undefined
245
+
246
+ Identity
247
+
248
+ Translation
249
+
250
+ Rotation
251
+
252
+ Scaling
253
+
254
+ Reflection
255
+
256
+ Shear
257
+
258
+ Affine
259
+ """
260
+ Affine: typing.ClassVar[Transformation.Type] # value = <Type.Affine: 7>
261
+ Identity: typing.ClassVar[Transformation.Type] # value = <Type.Identity: 1>
262
+ Reflection: typing.ClassVar[Transformation.Type] # value = <Type.Reflection: 5>
263
+ Rotation: typing.ClassVar[Transformation.Type] # value = <Type.Rotation: 3>
264
+ Scaling: typing.ClassVar[Transformation.Type] # value = <Type.Scaling: 4>
265
+ Shear: typing.ClassVar[Transformation.Type] # value = <Type.Shear: 6>
266
+ Translation: typing.ClassVar[Transformation.Type] # value = <Type.Translation: 2>
267
+ Undefined: typing.ClassVar[Transformation.Type] # value = <Type.Undefined: 0>
268
+ __members__: typing.ClassVar[dict[str, Transformation.Type]] # value = {'Undefined': <Type.Undefined: 0>, 'Identity': <Type.Identity: 1>, 'Translation': <Type.Translation: 2>, 'Rotation': <Type.Rotation: 3>, 'Scaling': <Type.Scaling: 4>, 'Reflection': <Type.Reflection: 5>, 'Shear': <Type.Shear: 6>, 'Affine': <Type.Affine: 7>}
269
+ @staticmethod
270
+ def _pybind11_conduit_v1_(*args, **kwargs):
271
+ ...
272
+ def __eq__(self, other: typing.Any) -> bool:
273
+ ...
274
+ def __getstate__(self) -> int:
275
+ ...
276
+ def __hash__(self) -> int:
277
+ ...
278
+ def __index__(self) -> int:
279
+ ...
280
+ def __init__(self, value: int) -> None:
281
+ ...
282
+ def __int__(self) -> int:
283
+ ...
284
+ def __ne__(self, other: typing.Any) -> bool:
285
+ ...
286
+ def __repr__(self) -> str:
287
+ ...
288
+ def __setstate__(self, state: int) -> None:
289
+ ...
290
+ def __str__(self) -> str:
291
+ ...
292
+ @property
293
+ def name(self) -> str:
294
+ ...
295
+ @property
296
+ def value(self) -> int:
297
+ ...
298
+ __hash__: typing.ClassVar[None] = None
299
+ @staticmethod
300
+ def _pybind11_conduit_v1_(*args, **kwargs):
301
+ ...
302
+ @staticmethod
303
+ def identity() -> Transformation:
304
+ ...
305
+ @staticmethod
306
+ @typing.overload
307
+ def rotation(rotation_vector: ...) -> Transformation:
308
+ ...
309
+ @staticmethod
310
+ @typing.overload
311
+ def rotation(rotation_matrix: ...) -> Transformation:
312
+ ...
313
+ @staticmethod
314
+ def rotation_around(point: object.Point, rotation_vector: ...) -> Transformation:
315
+ ...
316
+ @staticmethod
317
+ def string_from_type(type: ...) -> ostk.core.type.String:
318
+ ...
319
+ @staticmethod
320
+ def translation(translation_vector: numpy.ndarray[numpy.float64[3, 1]]) -> Transformation:
321
+ ...
322
+ @staticmethod
323
+ def type_of_matrix(matrix: numpy.ndarray[numpy.float64[4, 4]]) -> ...:
324
+ ...
325
+ @staticmethod
326
+ def undefined() -> Transformation:
327
+ ...
328
+ def __eq__(self, arg0: Transformation) -> bool:
329
+ ...
330
+ def __init__(self, matrix: numpy.ndarray[numpy.float64[4, 4]]) -> None:
331
+ ...
332
+ def __ne__(self, arg0: Transformation) -> bool:
333
+ ...
334
+ def __repr__(self) -> str:
335
+ ...
336
+ def __str__(self) -> str:
337
+ ...
338
+ @typing.overload
339
+ def apply_to(self, point: object.Point) -> object.Point:
340
+ ...
341
+ @typing.overload
342
+ def apply_to(self, vector: numpy.ndarray[numpy.float64[3, 1]]) -> numpy.ndarray[numpy.float64[3, 1]]:
343
+ ...
344
+ def get_inverse(self) -> Transformation:
345
+ ...
346
+ def get_matrix(self) -> numpy.ndarray[numpy.float64[4, 4]]:
347
+ ...
348
+ def get_type(self) -> ...:
349
+ ...
350
+ def is_defined(self) -> bool:
351
+ ...