open-space-toolkit-mathematics 4.3.2__py312-none-manylinux2014_x86_64.whl → 4.4.1__py312-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.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/METADATA +3 -3
- {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/RECORD +25 -13
- {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/WHEEL +1 -1
- ostk/mathematics/OpenSpaceToolkitMathematicsPy.cpython-312-x86_64-linux-gnu.so +0 -0
- ostk/mathematics/__init__.pyi +11 -0
- ostk/mathematics/curve_fitting/__init__.pyi +65 -0
- ostk/mathematics/curve_fitting/interpolator.pyi +46 -0
- ostk/mathematics/geometry/__init__.pyi +178 -0
- ostk/mathematics/geometry/d2/__init__.pyi +315 -0
- ostk/mathematics/geometry/d2/object.pyi +405 -0
- ostk/mathematics/geometry/d3/__init__.pyi +351 -0
- ostk/mathematics/geometry/d3/object.pyi +837 -0
- ostk/mathematics/geometry/d3/transformation/__init__.pyi +3 -0
- ostk/mathematics/geometry/d3/transformation/rotation.pyi +421 -0
- ostk/mathematics/libopen-space-toolkit-mathematics.so.4 +0 -0
- ostk/mathematics/object.pyi +123 -0
- ostk/mathematics/solver.pyi +147 -0
- 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
- {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_mathematics-4.3.2.dist-info → open_space_toolkit_mathematics-4.4.1.dist-info}/zip-safe +0 -0
|
@@ -0,0 +1,837 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
import numpy
|
|
3
|
+
import ostk.core.type
|
|
4
|
+
import ostk.mathematics.geometry.d2.object
|
|
5
|
+
import ostk.mathematics.geometry.d3
|
|
6
|
+
import typing
|
|
7
|
+
__all__ = ['Composite', 'Cone', 'Cuboid', 'Ellipsoid', 'Line', 'LineString', 'Plane', 'Point', 'PointSet', 'Polygon', 'Pyramid', 'Ray', 'Segment', 'Sphere', 'set_point_3_array']
|
|
8
|
+
class Composite(ostk.mathematics.geometry.d3.Object):
|
|
9
|
+
__hash__: typing.ClassVar[None] = None
|
|
10
|
+
@staticmethod
|
|
11
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
12
|
+
...
|
|
13
|
+
@staticmethod
|
|
14
|
+
def empty() -> Composite:
|
|
15
|
+
...
|
|
16
|
+
@staticmethod
|
|
17
|
+
def undefined() -> Composite:
|
|
18
|
+
...
|
|
19
|
+
def __add__(self, arg0: Composite) -> Composite:
|
|
20
|
+
...
|
|
21
|
+
def __eq__(self, arg0: Composite) -> bool:
|
|
22
|
+
...
|
|
23
|
+
def __iadd__(self, arg0: Composite) -> Composite:
|
|
24
|
+
...
|
|
25
|
+
def __init__(self, object: ostk.mathematics.geometry.d3.Object) -> None:
|
|
26
|
+
...
|
|
27
|
+
def __ne__(self, arg0: Composite) -> bool:
|
|
28
|
+
...
|
|
29
|
+
def __repr__(self) -> str:
|
|
30
|
+
...
|
|
31
|
+
def __str__(self) -> str:
|
|
32
|
+
...
|
|
33
|
+
def access_object_at(self, index: int) -> ostk.mathematics.geometry.d3.Object:
|
|
34
|
+
...
|
|
35
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
36
|
+
...
|
|
37
|
+
def as_composite(self) -> Composite:
|
|
38
|
+
...
|
|
39
|
+
def as_cone(self) -> Cone:
|
|
40
|
+
...
|
|
41
|
+
def as_ellipsoid(self) -> Ellipsoid:
|
|
42
|
+
...
|
|
43
|
+
def as_line(self) -> Line:
|
|
44
|
+
...
|
|
45
|
+
def as_line_string(self) -> LineString:
|
|
46
|
+
...
|
|
47
|
+
def as_plane(self) -> Plane:
|
|
48
|
+
...
|
|
49
|
+
def as_point(self) -> Point:
|
|
50
|
+
...
|
|
51
|
+
def as_point_set(self) -> PointSet:
|
|
52
|
+
...
|
|
53
|
+
def as_polygon(self) -> Polygon:
|
|
54
|
+
...
|
|
55
|
+
def as_pyramid(self) -> Pyramid:
|
|
56
|
+
...
|
|
57
|
+
def as_ray(self) -> Ray:
|
|
58
|
+
...
|
|
59
|
+
def as_segment(self) -> Segment:
|
|
60
|
+
...
|
|
61
|
+
def as_sphere(self) -> Sphere:
|
|
62
|
+
...
|
|
63
|
+
@typing.overload
|
|
64
|
+
def contains(self, object: ostk.mathematics.geometry.d3.Object) -> bool:
|
|
65
|
+
...
|
|
66
|
+
@typing.overload
|
|
67
|
+
def contains(self, composite: Composite) -> bool:
|
|
68
|
+
...
|
|
69
|
+
def get_object_count(self) -> int:
|
|
70
|
+
...
|
|
71
|
+
@typing.overload
|
|
72
|
+
def intersection_with(self, object: ostk.mathematics.geometry.d3.Object) -> ...:
|
|
73
|
+
...
|
|
74
|
+
@typing.overload
|
|
75
|
+
def intersection_with(self, composite: Composite) -> ...:
|
|
76
|
+
...
|
|
77
|
+
@typing.overload
|
|
78
|
+
def intersects(self, object: ostk.mathematics.geometry.d3.Object) -> bool:
|
|
79
|
+
...
|
|
80
|
+
@typing.overload
|
|
81
|
+
def intersects(self, composite: Composite) -> bool:
|
|
82
|
+
...
|
|
83
|
+
def is_composite(self) -> bool:
|
|
84
|
+
...
|
|
85
|
+
def is_cone(self) -> bool:
|
|
86
|
+
...
|
|
87
|
+
def is_defined(self) -> bool:
|
|
88
|
+
...
|
|
89
|
+
def is_ellipsoid(self) -> bool:
|
|
90
|
+
...
|
|
91
|
+
def is_empty(self) -> bool:
|
|
92
|
+
...
|
|
93
|
+
def is_line(self) -> bool:
|
|
94
|
+
...
|
|
95
|
+
def is_line_string(self) -> bool:
|
|
96
|
+
...
|
|
97
|
+
def is_plane(self) -> bool:
|
|
98
|
+
...
|
|
99
|
+
def is_point(self) -> bool:
|
|
100
|
+
...
|
|
101
|
+
def is_point_set(self) -> bool:
|
|
102
|
+
...
|
|
103
|
+
def is_polygon(self) -> bool:
|
|
104
|
+
...
|
|
105
|
+
def is_pyramid(self) -> bool:
|
|
106
|
+
...
|
|
107
|
+
def is_ray(self) -> bool:
|
|
108
|
+
...
|
|
109
|
+
def is_segment(self) -> bool:
|
|
110
|
+
...
|
|
111
|
+
def is_sphere(self) -> bool:
|
|
112
|
+
...
|
|
113
|
+
class Cone(ostk.mathematics.geometry.d3.Object):
|
|
114
|
+
__hash__: typing.ClassVar[None] = None
|
|
115
|
+
@staticmethod
|
|
116
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
117
|
+
...
|
|
118
|
+
@staticmethod
|
|
119
|
+
def undefined() -> Cone:
|
|
120
|
+
...
|
|
121
|
+
def __eq__(self, arg0: Cone) -> bool:
|
|
122
|
+
...
|
|
123
|
+
def __init__(self, apex: Point, axis: numpy.ndarray[numpy.float64[3, 1]], angle: typing.Any) -> None:
|
|
124
|
+
...
|
|
125
|
+
def __ne__(self, arg0: Cone) -> bool:
|
|
126
|
+
...
|
|
127
|
+
def __repr__(self) -> str:
|
|
128
|
+
...
|
|
129
|
+
def __str__(self) -> str:
|
|
130
|
+
...
|
|
131
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
132
|
+
...
|
|
133
|
+
@typing.overload
|
|
134
|
+
def contains(self, point: Point) -> bool:
|
|
135
|
+
...
|
|
136
|
+
@typing.overload
|
|
137
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
138
|
+
...
|
|
139
|
+
@typing.overload
|
|
140
|
+
def contains(self, segment: Segment) -> bool:
|
|
141
|
+
...
|
|
142
|
+
@typing.overload
|
|
143
|
+
def contains(self, ray: Ray) -> bool:
|
|
144
|
+
...
|
|
145
|
+
@typing.overload
|
|
146
|
+
def contains(self, sphere: Sphere) -> bool:
|
|
147
|
+
...
|
|
148
|
+
@typing.overload
|
|
149
|
+
def contains(self, ellipsoid: Ellipsoid) -> bool:
|
|
150
|
+
...
|
|
151
|
+
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
152
|
+
...
|
|
153
|
+
def get_angle(self) -> ...:
|
|
154
|
+
...
|
|
155
|
+
def get_apex(self) -> Point:
|
|
156
|
+
...
|
|
157
|
+
def get_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
158
|
+
...
|
|
159
|
+
def get_rays_of_lateral_surface(self, ray_count: int = 0) -> list[Ray]:
|
|
160
|
+
...
|
|
161
|
+
@typing.overload
|
|
162
|
+
def intersection_with(self, sphere: Sphere, only_in_sight: bool = False, discretization_level: int = 40) -> ...:
|
|
163
|
+
...
|
|
164
|
+
@typing.overload
|
|
165
|
+
def intersection_with(self, ellipsoid: Ellipsoid, only_in_sight: bool = False, discretization_level: int = 40) -> ...:
|
|
166
|
+
...
|
|
167
|
+
@typing.overload
|
|
168
|
+
def intersects(self, sphere: Sphere, discretization_level: int = 40) -> bool:
|
|
169
|
+
...
|
|
170
|
+
@typing.overload
|
|
171
|
+
def intersects(self, ellipsoid: Ellipsoid, discretization_level: int = 40) -> bool:
|
|
172
|
+
...
|
|
173
|
+
def is_defined(self) -> bool:
|
|
174
|
+
...
|
|
175
|
+
class Cuboid(ostk.mathematics.geometry.d3.Object):
|
|
176
|
+
__hash__: typing.ClassVar[None] = None
|
|
177
|
+
@staticmethod
|
|
178
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
179
|
+
...
|
|
180
|
+
@staticmethod
|
|
181
|
+
def cube(center: Point, extent: ostk.core.type.Real) -> Cuboid:
|
|
182
|
+
...
|
|
183
|
+
@staticmethod
|
|
184
|
+
def undefined() -> Cuboid:
|
|
185
|
+
...
|
|
186
|
+
def __eq__(self, arg0: Cuboid) -> bool:
|
|
187
|
+
...
|
|
188
|
+
def __init__(self, center: Point, axes: list, extent: list) -> None:
|
|
189
|
+
...
|
|
190
|
+
def __ne__(self, arg0: Cuboid) -> bool:
|
|
191
|
+
...
|
|
192
|
+
def __repr__(self) -> str:
|
|
193
|
+
...
|
|
194
|
+
def __str__(self) -> str:
|
|
195
|
+
...
|
|
196
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
197
|
+
...
|
|
198
|
+
def get_center(self) -> Point:
|
|
199
|
+
...
|
|
200
|
+
def get_first_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
201
|
+
...
|
|
202
|
+
def get_first_extent(self) -> ostk.core.type.Real:
|
|
203
|
+
...
|
|
204
|
+
def get_second_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
205
|
+
...
|
|
206
|
+
def get_second_extent(self) -> ostk.core.type.Real:
|
|
207
|
+
...
|
|
208
|
+
def get_third_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
209
|
+
...
|
|
210
|
+
def get_third_extent(self) -> ostk.core.type.Real:
|
|
211
|
+
...
|
|
212
|
+
def get_vertices(self) -> list[Point]:
|
|
213
|
+
...
|
|
214
|
+
@typing.overload
|
|
215
|
+
def intersects(self, point: Point) -> bool:
|
|
216
|
+
...
|
|
217
|
+
@typing.overload
|
|
218
|
+
def intersects(self, point_set: PointSet) -> bool:
|
|
219
|
+
...
|
|
220
|
+
@typing.overload
|
|
221
|
+
def intersects(self, line: Line) -> bool:
|
|
222
|
+
...
|
|
223
|
+
@typing.overload
|
|
224
|
+
def intersects(self, cuboid: Cuboid) -> bool:
|
|
225
|
+
...
|
|
226
|
+
def is_defined(self) -> bool:
|
|
227
|
+
...
|
|
228
|
+
def is_near(self, arg0: Cuboid, arg1: ostk.core.type.Real) -> bool:
|
|
229
|
+
...
|
|
230
|
+
class Ellipsoid(ostk.mathematics.geometry.d3.Object):
|
|
231
|
+
__hash__: typing.ClassVar[None] = None
|
|
232
|
+
@staticmethod
|
|
233
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
234
|
+
...
|
|
235
|
+
@staticmethod
|
|
236
|
+
def undefined() -> Ellipsoid:
|
|
237
|
+
...
|
|
238
|
+
def __eq__(self, arg0: Ellipsoid) -> bool:
|
|
239
|
+
...
|
|
240
|
+
@typing.overload
|
|
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
|
+
...
|
|
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: typing.Any) -> None:
|
|
245
|
+
...
|
|
246
|
+
def __ne__(self, arg0: Ellipsoid) -> bool:
|
|
247
|
+
...
|
|
248
|
+
def __repr__(self) -> str:
|
|
249
|
+
...
|
|
250
|
+
def __str__(self) -> str:
|
|
251
|
+
...
|
|
252
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
253
|
+
...
|
|
254
|
+
@typing.overload
|
|
255
|
+
def contains(self, point: Point) -> bool:
|
|
256
|
+
...
|
|
257
|
+
@typing.overload
|
|
258
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
259
|
+
...
|
|
260
|
+
@typing.overload
|
|
261
|
+
def contains(self, segment: Segment) -> bool:
|
|
262
|
+
...
|
|
263
|
+
def get_center(self) -> Point:
|
|
264
|
+
...
|
|
265
|
+
def get_first_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
266
|
+
...
|
|
267
|
+
def get_first_principal_semi_axis(self) -> ostk.core.type.Real:
|
|
268
|
+
...
|
|
269
|
+
def get_matrix(self) -> numpy.ndarray[numpy.float64[3, 3]]:
|
|
270
|
+
...
|
|
271
|
+
def get_orientation(self) -> ...:
|
|
272
|
+
...
|
|
273
|
+
def get_second_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
274
|
+
...
|
|
275
|
+
def get_second_principal_semi_axis(self) -> ostk.core.type.Real:
|
|
276
|
+
...
|
|
277
|
+
def get_third_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
278
|
+
...
|
|
279
|
+
def get_third_principal_semi_axis(self) -> ostk.core.type.Real:
|
|
280
|
+
...
|
|
281
|
+
@typing.overload
|
|
282
|
+
def intersection(self, line: Line) -> ...:
|
|
283
|
+
...
|
|
284
|
+
@typing.overload
|
|
285
|
+
def intersection(self, ray: Ray, only_in_sight: bool) -> ...:
|
|
286
|
+
...
|
|
287
|
+
@typing.overload
|
|
288
|
+
def intersection(self, segment: Segment) -> ...:
|
|
289
|
+
...
|
|
290
|
+
@typing.overload
|
|
291
|
+
def intersection(self, pyramid: typing.Any, only_in_sight: bool) -> ...:
|
|
292
|
+
...
|
|
293
|
+
@typing.overload
|
|
294
|
+
def intersection(self, cone: typing.Any, only_in_sight: bool) -> ...:
|
|
295
|
+
...
|
|
296
|
+
@typing.overload
|
|
297
|
+
def intersects(self, point: Point) -> bool:
|
|
298
|
+
...
|
|
299
|
+
@typing.overload
|
|
300
|
+
def intersects(self, point_set: PointSet) -> bool:
|
|
301
|
+
...
|
|
302
|
+
@typing.overload
|
|
303
|
+
def intersects(self, line: Line) -> bool:
|
|
304
|
+
...
|
|
305
|
+
@typing.overload
|
|
306
|
+
def intersects(self, ray: Ray) -> bool:
|
|
307
|
+
...
|
|
308
|
+
@typing.overload
|
|
309
|
+
def intersects(self, segment: Segment) -> bool:
|
|
310
|
+
...
|
|
311
|
+
@typing.overload
|
|
312
|
+
def intersects(self, plane: Plane) -> bool:
|
|
313
|
+
...
|
|
314
|
+
def is_defined(self) -> bool:
|
|
315
|
+
...
|
|
316
|
+
class Line(ostk.mathematics.geometry.d3.Object):
|
|
317
|
+
__hash__: typing.ClassVar[None] = None
|
|
318
|
+
@staticmethod
|
|
319
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
320
|
+
...
|
|
321
|
+
@staticmethod
|
|
322
|
+
def points(first_point: Point, second_point: Point) -> Line:
|
|
323
|
+
...
|
|
324
|
+
@staticmethod
|
|
325
|
+
def undefined() -> Line:
|
|
326
|
+
...
|
|
327
|
+
def __eq__(self, arg0: Line) -> bool:
|
|
328
|
+
...
|
|
329
|
+
def __init__(self, origin: Point, direction: numpy.ndarray[numpy.float64[3, 1]]) -> None:
|
|
330
|
+
...
|
|
331
|
+
def __ne__(self, arg0: Line) -> bool:
|
|
332
|
+
...
|
|
333
|
+
def __repr__(self) -> str:
|
|
334
|
+
...
|
|
335
|
+
def __str__(self) -> str:
|
|
336
|
+
...
|
|
337
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
338
|
+
...
|
|
339
|
+
@typing.overload
|
|
340
|
+
def contains(self, point: Point) -> bool:
|
|
341
|
+
...
|
|
342
|
+
@typing.overload
|
|
343
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
344
|
+
...
|
|
345
|
+
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
346
|
+
...
|
|
347
|
+
def get_direction(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
348
|
+
...
|
|
349
|
+
def get_origin(self) -> Point:
|
|
350
|
+
...
|
|
351
|
+
def intersection_with(self, plane: typing.Any) -> ...:
|
|
352
|
+
...
|
|
353
|
+
@typing.overload
|
|
354
|
+
def intersects(self, point: Point) -> bool:
|
|
355
|
+
...
|
|
356
|
+
@typing.overload
|
|
357
|
+
def intersects(self, plane: typing.Any) -> bool:
|
|
358
|
+
...
|
|
359
|
+
@typing.overload
|
|
360
|
+
def intersects(self, sphere: typing.Any) -> bool:
|
|
361
|
+
...
|
|
362
|
+
@typing.overload
|
|
363
|
+
def intersects(self, ellipsoid: typing.Any) -> bool:
|
|
364
|
+
...
|
|
365
|
+
def is_defined(self) -> bool:
|
|
366
|
+
...
|
|
367
|
+
class LineString(ostk.mathematics.geometry.d3.Object):
|
|
368
|
+
__hash__: typing.ClassVar[None] = None
|
|
369
|
+
@staticmethod
|
|
370
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
371
|
+
...
|
|
372
|
+
@staticmethod
|
|
373
|
+
def empty() -> LineString:
|
|
374
|
+
...
|
|
375
|
+
@staticmethod
|
|
376
|
+
def segment(segment: Segment) -> LineString:
|
|
377
|
+
...
|
|
378
|
+
def __eq__(self, arg0: LineString) -> bool:
|
|
379
|
+
...
|
|
380
|
+
def __getitem__(self, index: int) -> Point:
|
|
381
|
+
...
|
|
382
|
+
def __init__(self, points: list[Point]) -> None:
|
|
383
|
+
...
|
|
384
|
+
def __iter__(self) -> typing.Iterator[Point]:
|
|
385
|
+
...
|
|
386
|
+
def __len__(self) -> int:
|
|
387
|
+
...
|
|
388
|
+
def __ne__(self, arg0: LineString) -> bool:
|
|
389
|
+
...
|
|
390
|
+
def __repr__(self) -> str:
|
|
391
|
+
...
|
|
392
|
+
def __str__(self) -> str:
|
|
393
|
+
...
|
|
394
|
+
def access_point_at(self, index: int) -> Point:
|
|
395
|
+
...
|
|
396
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
397
|
+
...
|
|
398
|
+
def get_point_closest_to(self, point: Point) -> Point:
|
|
399
|
+
...
|
|
400
|
+
def get_point_count(self) -> int:
|
|
401
|
+
...
|
|
402
|
+
def is_defined(self) -> bool:
|
|
403
|
+
...
|
|
404
|
+
def is_empty(self) -> bool:
|
|
405
|
+
...
|
|
406
|
+
def is_near(self, line_string: LineString, tolerance: ostk.core.type.Real) -> bool:
|
|
407
|
+
...
|
|
408
|
+
class Plane(ostk.mathematics.geometry.d3.Object):
|
|
409
|
+
__hash__: typing.ClassVar[None] = None
|
|
410
|
+
@staticmethod
|
|
411
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
412
|
+
...
|
|
413
|
+
@staticmethod
|
|
414
|
+
def undefined() -> Plane:
|
|
415
|
+
...
|
|
416
|
+
def __eq__(self, arg0: Plane) -> bool:
|
|
417
|
+
...
|
|
418
|
+
def __init__(self, point: Point, normal_vector: numpy.ndarray[numpy.float64[3, 1]]) -> None:
|
|
419
|
+
...
|
|
420
|
+
def __ne__(self, arg0: Plane) -> bool:
|
|
421
|
+
...
|
|
422
|
+
def __repr__(self) -> str:
|
|
423
|
+
...
|
|
424
|
+
def __str__(self) -> str:
|
|
425
|
+
...
|
|
426
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
427
|
+
...
|
|
428
|
+
@typing.overload
|
|
429
|
+
def contains(self, point: Point) -> bool:
|
|
430
|
+
...
|
|
431
|
+
@typing.overload
|
|
432
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
433
|
+
...
|
|
434
|
+
@typing.overload
|
|
435
|
+
def contains(self, line: Line) -> bool:
|
|
436
|
+
...
|
|
437
|
+
@typing.overload
|
|
438
|
+
def contains(self, ray: Ray) -> bool:
|
|
439
|
+
...
|
|
440
|
+
@typing.overload
|
|
441
|
+
def contains(self, segment: Segment) -> bool:
|
|
442
|
+
...
|
|
443
|
+
def get_normal_vector(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
444
|
+
...
|
|
445
|
+
def get_point(self) -> Point:
|
|
446
|
+
...
|
|
447
|
+
@typing.overload
|
|
448
|
+
def intersection_with(self, point: Point) -> ...:
|
|
449
|
+
...
|
|
450
|
+
@typing.overload
|
|
451
|
+
def intersection_with(self, point_set: PointSet) -> ...:
|
|
452
|
+
...
|
|
453
|
+
@typing.overload
|
|
454
|
+
def intersection_with(self, line: Line) -> ...:
|
|
455
|
+
...
|
|
456
|
+
@typing.overload
|
|
457
|
+
def intersection_with(self, ray: Ray) -> ...:
|
|
458
|
+
...
|
|
459
|
+
@typing.overload
|
|
460
|
+
def intersection_with(self, segment: Segment) -> ...:
|
|
461
|
+
...
|
|
462
|
+
@typing.overload
|
|
463
|
+
def intersects(self, point: Point) -> bool:
|
|
464
|
+
...
|
|
465
|
+
@typing.overload
|
|
466
|
+
def intersects(self, point_set: PointSet) -> bool:
|
|
467
|
+
...
|
|
468
|
+
@typing.overload
|
|
469
|
+
def intersects(self, line: Line) -> bool:
|
|
470
|
+
...
|
|
471
|
+
@typing.overload
|
|
472
|
+
def intersects(self, ray: Ray) -> bool:
|
|
473
|
+
...
|
|
474
|
+
@typing.overload
|
|
475
|
+
def intersects(self, segment: Segment) -> bool:
|
|
476
|
+
...
|
|
477
|
+
def is_defined(self) -> bool:
|
|
478
|
+
...
|
|
479
|
+
class Point(ostk.mathematics.geometry.d3.Object):
|
|
480
|
+
__hash__: typing.ClassVar[None] = None
|
|
481
|
+
@staticmethod
|
|
482
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
483
|
+
...
|
|
484
|
+
@staticmethod
|
|
485
|
+
def origin() -> Point:
|
|
486
|
+
...
|
|
487
|
+
@staticmethod
|
|
488
|
+
def undefined() -> Point:
|
|
489
|
+
...
|
|
490
|
+
@staticmethod
|
|
491
|
+
def vector(arg0: numpy.ndarray[numpy.float64[3, 1]]) -> Point:
|
|
492
|
+
...
|
|
493
|
+
def __add__(self, arg0: numpy.ndarray[numpy.float64[3, 1]]) -> Point:
|
|
494
|
+
...
|
|
495
|
+
def __eq__(self, arg0: Point) -> bool:
|
|
496
|
+
...
|
|
497
|
+
def __init__(self, first_coordinate: ostk.core.type.Real, second_coordinate: ostk.core.type.Real, third_coordinate: ostk.core.type.Real) -> None:
|
|
498
|
+
...
|
|
499
|
+
def __ne__(self, arg0: Point) -> bool:
|
|
500
|
+
...
|
|
501
|
+
def __repr__(self) -> str:
|
|
502
|
+
...
|
|
503
|
+
def __str__(self) -> str:
|
|
504
|
+
...
|
|
505
|
+
@typing.overload
|
|
506
|
+
def __sub__(self, arg0: numpy.ndarray[numpy.float64[3, 1]]) -> Point:
|
|
507
|
+
...
|
|
508
|
+
@typing.overload
|
|
509
|
+
def __sub__(self, arg0: Point) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
510
|
+
...
|
|
511
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
512
|
+
...
|
|
513
|
+
def as_vector(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
514
|
+
...
|
|
515
|
+
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
516
|
+
...
|
|
517
|
+
def is_defined(self) -> bool:
|
|
518
|
+
...
|
|
519
|
+
def is_near(self, point: Point, tolerance: ostk.core.type.Real) -> bool:
|
|
520
|
+
...
|
|
521
|
+
def to_string(self, precision: ostk.core.type.Integer = ...) -> ostk.core.type.String:
|
|
522
|
+
...
|
|
523
|
+
def x(self) -> ostk.core.type.Real:
|
|
524
|
+
...
|
|
525
|
+
def y(self) -> ostk.core.type.Real:
|
|
526
|
+
...
|
|
527
|
+
def z(self) -> ostk.core.type.Real:
|
|
528
|
+
...
|
|
529
|
+
class PointSet(ostk.mathematics.geometry.d3.Object):
|
|
530
|
+
__hash__: typing.ClassVar[None] = None
|
|
531
|
+
@staticmethod
|
|
532
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
533
|
+
...
|
|
534
|
+
@staticmethod
|
|
535
|
+
def empty() -> PointSet:
|
|
536
|
+
...
|
|
537
|
+
def __eq__(self, arg0: PointSet) -> bool:
|
|
538
|
+
...
|
|
539
|
+
def __getitem__(self, arg0: int) -> Point:
|
|
540
|
+
...
|
|
541
|
+
def __init__(self, points: list[Point]) -> None:
|
|
542
|
+
...
|
|
543
|
+
def __iter__(self) -> typing.Iterator[Point]:
|
|
544
|
+
...
|
|
545
|
+
def __len__(self) -> int:
|
|
546
|
+
...
|
|
547
|
+
def __ne__(self, arg0: PointSet) -> bool:
|
|
548
|
+
...
|
|
549
|
+
def __repr__(self) -> str:
|
|
550
|
+
...
|
|
551
|
+
def __str__(self) -> str:
|
|
552
|
+
...
|
|
553
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
554
|
+
...
|
|
555
|
+
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
556
|
+
...
|
|
557
|
+
def get_point_closest_to(self, point: Point) -> Point:
|
|
558
|
+
...
|
|
559
|
+
def get_size(self) -> int:
|
|
560
|
+
...
|
|
561
|
+
def is_defined(self) -> bool:
|
|
562
|
+
...
|
|
563
|
+
def is_empty(self) -> bool:
|
|
564
|
+
...
|
|
565
|
+
def is_near(self, point_set: PointSet, tolerance: ostk.core.type.Real) -> bool:
|
|
566
|
+
...
|
|
567
|
+
class Polygon(ostk.mathematics.geometry.d3.Object):
|
|
568
|
+
__hash__: typing.ClassVar[None] = None
|
|
569
|
+
@staticmethod
|
|
570
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
571
|
+
...
|
|
572
|
+
@staticmethod
|
|
573
|
+
def undefined() -> Polygon:
|
|
574
|
+
...
|
|
575
|
+
def __eq__(self, arg0: Polygon) -> bool:
|
|
576
|
+
...
|
|
577
|
+
def __init__(self, polygon: ostk.mathematics.geometry.d2.object.Polygon, origin: Point, x_axis: numpy.ndarray[numpy.float64[3, 1]], y_axis: numpy.ndarray[numpy.float64[3, 1]]) -> None:
|
|
578
|
+
...
|
|
579
|
+
def __ne__(self, arg0: Polygon) -> bool:
|
|
580
|
+
...
|
|
581
|
+
def __repr__(self) -> str:
|
|
582
|
+
...
|
|
583
|
+
def __str__(self) -> str:
|
|
584
|
+
...
|
|
585
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
586
|
+
...
|
|
587
|
+
def get_edge_at(self, index: int) -> Segment:
|
|
588
|
+
...
|
|
589
|
+
def get_edge_count(self) -> int:
|
|
590
|
+
...
|
|
591
|
+
def get_normal_vector(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
592
|
+
...
|
|
593
|
+
def get_origin(self) -> Point:
|
|
594
|
+
...
|
|
595
|
+
def get_polygon2d(self) -> ostk.mathematics.geometry.d2.object.Polygon:
|
|
596
|
+
...
|
|
597
|
+
def get_vertex_at(self, index: int) -> Point:
|
|
598
|
+
...
|
|
599
|
+
def get_vertex_count(self) -> int:
|
|
600
|
+
...
|
|
601
|
+
def get_vertices(self) -> list[Point]:
|
|
602
|
+
...
|
|
603
|
+
def get_x_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
604
|
+
...
|
|
605
|
+
def get_y_axis(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
606
|
+
...
|
|
607
|
+
def is_defined(self) -> bool:
|
|
608
|
+
...
|
|
609
|
+
def is_near(self, polygon: Polygon, tolerance: ostk.core.type.Real) -> bool:
|
|
610
|
+
...
|
|
611
|
+
class Pyramid(ostk.mathematics.geometry.d3.Object):
|
|
612
|
+
__hash__: typing.ClassVar[None] = None
|
|
613
|
+
@staticmethod
|
|
614
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
615
|
+
...
|
|
616
|
+
@staticmethod
|
|
617
|
+
def undefined() -> Pyramid:
|
|
618
|
+
...
|
|
619
|
+
def __eq__(self, arg0: Pyramid) -> bool:
|
|
620
|
+
...
|
|
621
|
+
def __init__(self, base: Polygon, apex: Point) -> None:
|
|
622
|
+
...
|
|
623
|
+
def __ne__(self, arg0: Pyramid) -> bool:
|
|
624
|
+
...
|
|
625
|
+
def __repr__(self) -> str:
|
|
626
|
+
...
|
|
627
|
+
def __str__(self) -> str:
|
|
628
|
+
...
|
|
629
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
630
|
+
...
|
|
631
|
+
@typing.overload
|
|
632
|
+
def contains(self, point: Point) -> bool:
|
|
633
|
+
...
|
|
634
|
+
@typing.overload
|
|
635
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
636
|
+
...
|
|
637
|
+
@typing.overload
|
|
638
|
+
def contains(self, segment: Segment) -> bool:
|
|
639
|
+
...
|
|
640
|
+
@typing.overload
|
|
641
|
+
def contains(self, ellipsoid: Ellipsoid) -> bool:
|
|
642
|
+
...
|
|
643
|
+
def get_apex(self) -> Point:
|
|
644
|
+
...
|
|
645
|
+
def get_base(self) -> Polygon:
|
|
646
|
+
...
|
|
647
|
+
def get_lateral_face_at(self, arg0: int) -> Polygon:
|
|
648
|
+
...
|
|
649
|
+
def get_lateral_face_count(self) -> int:
|
|
650
|
+
...
|
|
651
|
+
def get_rays_of_lateral_face_at(self, lateral_face_index: int, ray_count: int = 2) -> list[Ray]:
|
|
652
|
+
...
|
|
653
|
+
def get_rays_of_lateral_faces(self, ray_count: int = 0) -> list[Ray]:
|
|
654
|
+
...
|
|
655
|
+
@typing.overload
|
|
656
|
+
def intersection_with(self, sphere: Sphere, only_in_sight: bool = False, discretization_level: int = 40) -> ...:
|
|
657
|
+
...
|
|
658
|
+
@typing.overload
|
|
659
|
+
def intersection_with(self, ellipsoid: Ellipsoid, only_in_sight: bool = False, discretization_level: int = 40) -> ...:
|
|
660
|
+
...
|
|
661
|
+
def intersects(self, ellipsoid: Ellipsoid, discretization_level: int = 40) -> bool:
|
|
662
|
+
...
|
|
663
|
+
def is_defined(self) -> bool:
|
|
664
|
+
...
|
|
665
|
+
class Ray(ostk.mathematics.geometry.d3.Object):
|
|
666
|
+
__hash__: typing.ClassVar[None] = None
|
|
667
|
+
@staticmethod
|
|
668
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
669
|
+
...
|
|
670
|
+
@staticmethod
|
|
671
|
+
def undefined() -> Ray:
|
|
672
|
+
...
|
|
673
|
+
def __eq__(self, arg0: Ray) -> bool:
|
|
674
|
+
...
|
|
675
|
+
def __init__(self, origin: Point, direction: numpy.ndarray[numpy.float64[3, 1]]) -> None:
|
|
676
|
+
...
|
|
677
|
+
def __ne__(self, arg0: Ray) -> bool:
|
|
678
|
+
...
|
|
679
|
+
def __repr__(self) -> str:
|
|
680
|
+
...
|
|
681
|
+
def __str__(self) -> str:
|
|
682
|
+
...
|
|
683
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
684
|
+
...
|
|
685
|
+
@typing.overload
|
|
686
|
+
def contains(self, point: Point) -> bool:
|
|
687
|
+
...
|
|
688
|
+
@typing.overload
|
|
689
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
690
|
+
...
|
|
691
|
+
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
692
|
+
...
|
|
693
|
+
def get_direction(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
694
|
+
...
|
|
695
|
+
def get_origin(self) -> Point:
|
|
696
|
+
...
|
|
697
|
+
@typing.overload
|
|
698
|
+
def intersection_with(self, plane: typing.Any) -> ...:
|
|
699
|
+
...
|
|
700
|
+
@typing.overload
|
|
701
|
+
def intersection_with(self, sphere: typing.Any, only_in_sight: bool = False) -> ...:
|
|
702
|
+
...
|
|
703
|
+
@typing.overload
|
|
704
|
+
def intersection_with(self, ellipsoid: typing.Any, only_in_sight: bool = False) -> ...:
|
|
705
|
+
...
|
|
706
|
+
@typing.overload
|
|
707
|
+
def intersects(self, point: Point) -> bool:
|
|
708
|
+
...
|
|
709
|
+
@typing.overload
|
|
710
|
+
def intersects(self, plane: typing.Any) -> bool:
|
|
711
|
+
...
|
|
712
|
+
@typing.overload
|
|
713
|
+
def intersects(self, sphere: typing.Any) -> bool:
|
|
714
|
+
...
|
|
715
|
+
@typing.overload
|
|
716
|
+
def intersects(self, ellipsoid: typing.Any) -> bool:
|
|
717
|
+
...
|
|
718
|
+
def is_defined(self) -> bool:
|
|
719
|
+
...
|
|
720
|
+
class Segment(ostk.mathematics.geometry.d3.Object):
|
|
721
|
+
__hash__: typing.ClassVar[None] = None
|
|
722
|
+
@staticmethod
|
|
723
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
724
|
+
...
|
|
725
|
+
@staticmethod
|
|
726
|
+
def undefined() -> Segment:
|
|
727
|
+
...
|
|
728
|
+
def __eq__(self, arg0: Segment) -> bool:
|
|
729
|
+
...
|
|
730
|
+
def __init__(self, first_point: Point, second_point: Point) -> None:
|
|
731
|
+
...
|
|
732
|
+
def __ne__(self, arg0: Segment) -> bool:
|
|
733
|
+
...
|
|
734
|
+
def __repr__(self) -> str:
|
|
735
|
+
...
|
|
736
|
+
def __str__(self) -> str:
|
|
737
|
+
...
|
|
738
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
739
|
+
...
|
|
740
|
+
def contains(self, point: Point) -> bool:
|
|
741
|
+
...
|
|
742
|
+
@typing.overload
|
|
743
|
+
def distance_to(self, point: Point) -> ostk.core.type.Real:
|
|
744
|
+
...
|
|
745
|
+
@typing.overload
|
|
746
|
+
def distance_to(self, point_set: PointSet) -> ostk.core.type.Real:
|
|
747
|
+
...
|
|
748
|
+
def get_center(self) -> Point:
|
|
749
|
+
...
|
|
750
|
+
def get_direction(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
|
751
|
+
...
|
|
752
|
+
def get_first_point(self) -> Point:
|
|
753
|
+
...
|
|
754
|
+
def get_length(self) -> ostk.core.type.Real:
|
|
755
|
+
...
|
|
756
|
+
def get_second_point(self) -> Point:
|
|
757
|
+
...
|
|
758
|
+
def intersection_with(self, plane: typing.Any) -> ...:
|
|
759
|
+
...
|
|
760
|
+
@typing.overload
|
|
761
|
+
def intersects(self, plane: typing.Any) -> bool:
|
|
762
|
+
...
|
|
763
|
+
@typing.overload
|
|
764
|
+
def intersects(self, sphere: typing.Any) -> bool:
|
|
765
|
+
...
|
|
766
|
+
@typing.overload
|
|
767
|
+
def intersects(self, ellipsoid: typing.Any) -> bool:
|
|
768
|
+
...
|
|
769
|
+
def is_defined(self) -> bool:
|
|
770
|
+
...
|
|
771
|
+
def is_degenerate(self) -> bool:
|
|
772
|
+
...
|
|
773
|
+
def to_line(self) -> Line:
|
|
774
|
+
...
|
|
775
|
+
class Sphere(ostk.mathematics.geometry.d3.Object):
|
|
776
|
+
__hash__: typing.ClassVar[None] = None
|
|
777
|
+
@staticmethod
|
|
778
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
|
779
|
+
...
|
|
780
|
+
@staticmethod
|
|
781
|
+
def undefined() -> Sphere:
|
|
782
|
+
...
|
|
783
|
+
@staticmethod
|
|
784
|
+
def unit(center: Point) -> Sphere:
|
|
785
|
+
...
|
|
786
|
+
def __eq__(self, arg0: Sphere) -> bool:
|
|
787
|
+
...
|
|
788
|
+
def __init__(self, center: Point, radius: ostk.core.type.Real) -> None:
|
|
789
|
+
...
|
|
790
|
+
def __ne__(self, arg0: Sphere) -> bool:
|
|
791
|
+
...
|
|
792
|
+
def __repr__(self) -> str:
|
|
793
|
+
...
|
|
794
|
+
def __str__(self) -> str:
|
|
795
|
+
...
|
|
796
|
+
def apply_transformation(self, transformation: typing.Any) -> None:
|
|
797
|
+
...
|
|
798
|
+
@typing.overload
|
|
799
|
+
def contains(self, point: Point) -> bool:
|
|
800
|
+
...
|
|
801
|
+
@typing.overload
|
|
802
|
+
def contains(self, point_set: PointSet) -> bool:
|
|
803
|
+
...
|
|
804
|
+
def get_center(self) -> Point:
|
|
805
|
+
...
|
|
806
|
+
def get_radius(self) -> ostk.core.type.Real:
|
|
807
|
+
...
|
|
808
|
+
@typing.overload
|
|
809
|
+
def intersection_with(self, line: Line) -> ...:
|
|
810
|
+
...
|
|
811
|
+
@typing.overload
|
|
812
|
+
def intersection_with(self, ray: Ray, only_in_sight: bool = False) -> ...:
|
|
813
|
+
...
|
|
814
|
+
@typing.overload
|
|
815
|
+
def intersects(self, point: Point) -> bool:
|
|
816
|
+
...
|
|
817
|
+
@typing.overload
|
|
818
|
+
def intersects(self, point_set: PointSet) -> bool:
|
|
819
|
+
...
|
|
820
|
+
@typing.overload
|
|
821
|
+
def intersects(self, line: Line) -> bool:
|
|
822
|
+
...
|
|
823
|
+
@typing.overload
|
|
824
|
+
def intersects(self, ray: Ray) -> bool:
|
|
825
|
+
...
|
|
826
|
+
@typing.overload
|
|
827
|
+
def intersects(self, segment: Segment) -> bool:
|
|
828
|
+
...
|
|
829
|
+
@typing.overload
|
|
830
|
+
def intersects(self, plane: Plane) -> bool:
|
|
831
|
+
...
|
|
832
|
+
def is_defined(self) -> bool:
|
|
833
|
+
...
|
|
834
|
+
def is_unitary(self) -> bool:
|
|
835
|
+
...
|
|
836
|
+
def set_point_3_array(arg0: list[Point]) -> None:
|
|
837
|
+
...
|