open-space-toolkit-physics 11.2.1__py310-none-manylinux2014_x86_64.whl → 12.0.0__py310-none-manylinux2014_x86_64.whl
Sign up to get free protection for your applications and to get access to all the features.
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/METADATA +3 -3
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/RECORD +35 -13
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/WHEEL +1 -1
- ostk/physics/OpenSpaceToolkitPhysicsPy.cpython-310-x86_64-linux-gnu.so +0 -0
- ostk/physics/__init__.pyi +488 -0
- ostk/physics/coordinate/__init__.pyi +1002 -0
- ostk/physics/coordinate/frame/__init__.pyi +30 -0
- ostk/physics/coordinate/frame/provider/__init__.pyi +77 -0
- ostk/physics/coordinate/frame/provider/iau.pyi +64 -0
- ostk/physics/coordinate/frame/provider/iers.pyi +584 -0
- ostk/physics/coordinate/spherical.pyi +421 -0
- ostk/physics/data/__init__.pyi +459 -0
- ostk/physics/data/provider.pyi +21 -0
- ostk/physics/environment/__init__.pyi +108 -0
- ostk/physics/environment/atmospheric/__init__.pyi +181 -0
- ostk/physics/environment/atmospheric/earth.pyi +552 -0
- ostk/physics/environment/gravitational/__init__.pyi +559 -0
- ostk/physics/environment/gravitational/earth.pyi +56 -0
- ostk/physics/environment/magnetic/__init__.pyi +171 -0
- ostk/physics/environment/magnetic/earth.pyi +56 -0
- ostk/physics/environment/object/__init__.pyi +430 -0
- ostk/physics/environment/object/celestial/__init__.pyi +248 -0
- ostk/physics/environment/object/celestial/moon.pyi +2 -0
- ostk/physics/environment/object/celestial/sun.pyi +2 -0
- ostk/physics/{libopen-space-toolkit-physics.so.11 → libopen-space-toolkit-physics.so.12} +0 -0
- ostk/physics/test/coordinate/frame/provider/iers/conftest.py +2 -5
- ostk/physics/test/coordinate/frame/provider/iers/test_bulletin_a.py +1 -4
- ostk/physics/test/coordinate/frame/provider/iers/test_finals_2000a.py +1 -4
- ostk/physics/test/coordinate/spherical/test_lla.py +24 -0
- ostk/physics/test/coordinate/test_position.py +129 -134
- ostk/physics/test/environment/atmospheric/earth/test_cssi_space_weather.py +11 -8
- ostk/physics/time.pyi +1744 -0
- ostk/physics/unit.pyi +1590 -0
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/top_level.txt +0 -0
- {open_space_toolkit_physics-11.2.1.dist-info → open_space_toolkit_physics-12.0.0.dist-info}/zip-safe +0 -0
@@ -0,0 +1,459 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import numpy
|
3
|
+
import ostk.core.filesystem
|
4
|
+
import ostk.core.type
|
5
|
+
import ostk.io
|
6
|
+
import ostk.physics
|
7
|
+
import ostk.physics.coordinate
|
8
|
+
import ostk.physics.time
|
9
|
+
import typing
|
10
|
+
from . import provider
|
11
|
+
__all__ = ['Direction', 'Manager', 'Manifest', 'Scalar', 'Vector', 'provider']
|
12
|
+
class Direction(Vector):
|
13
|
+
"""
|
14
|
+
|
15
|
+
Direction.
|
16
|
+
|
17
|
+
A unit vector, expressed in a given frame.
|
18
|
+
|
19
|
+
|
20
|
+
"""
|
21
|
+
__hash__: typing.ClassVar[None] = None
|
22
|
+
@staticmethod
|
23
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
24
|
+
...
|
25
|
+
@staticmethod
|
26
|
+
def undefined() -> Direction:
|
27
|
+
"""
|
28
|
+
Create an undefined direction.
|
29
|
+
|
30
|
+
Returns:
|
31
|
+
Direction: Undefined direction.
|
32
|
+
"""
|
33
|
+
def __eq__(self, arg0: Direction) -> bool:
|
34
|
+
"""
|
35
|
+
Equality operator.
|
36
|
+
|
37
|
+
Args:
|
38
|
+
other (Direction): Other direction.
|
39
|
+
|
40
|
+
Returns:
|
41
|
+
bool: True if equal.
|
42
|
+
"""
|
43
|
+
def __init__(self, value: numpy.ndarray[numpy.float64[3, 1]], frame: ostk.physics.coordinate.Frame) -> None:
|
44
|
+
"""
|
45
|
+
Construct a Direction.
|
46
|
+
|
47
|
+
Args:
|
48
|
+
np.ndarray: Value
|
49
|
+
Frame: Frame
|
50
|
+
"""
|
51
|
+
def __ne__(self, arg0: Direction) -> bool:
|
52
|
+
"""
|
53
|
+
Inequality operator.
|
54
|
+
|
55
|
+
Args:
|
56
|
+
other (Direction): Other direction.
|
57
|
+
|
58
|
+
Returns:
|
59
|
+
bool: True if not equal.
|
60
|
+
"""
|
61
|
+
def __repr__(self) -> str:
|
62
|
+
...
|
63
|
+
def __str__(self) -> str:
|
64
|
+
...
|
65
|
+
class Manager(ostk.physics.Manager):
|
66
|
+
"""
|
67
|
+
|
68
|
+
OSTk Data manager base class (thread-safe).
|
69
|
+
|
70
|
+
The base manager defines methods for tracking and checking the manifest file.
|
71
|
+
|
72
|
+
"""
|
73
|
+
@staticmethod
|
74
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
75
|
+
...
|
76
|
+
@staticmethod
|
77
|
+
def default_remote_url() -> ostk.io.URL:
|
78
|
+
"""
|
79
|
+
Get the default remote URL for data fetching.
|
80
|
+
|
81
|
+
Returns:
|
82
|
+
URL: Default remote URL.
|
83
|
+
"""
|
84
|
+
@staticmethod
|
85
|
+
def get() -> Manager:
|
86
|
+
"""
|
87
|
+
Get manager singleton.
|
88
|
+
|
89
|
+
Returns:
|
90
|
+
Manager: Manager instance.
|
91
|
+
"""
|
92
|
+
def find_remote_data_urls(self, data_name_regex_pattern: ostk.core.type.String) -> list[ostk.io.URL]:
|
93
|
+
"""
|
94
|
+
Find remote URLs of data matching regular expression string.
|
95
|
+
|
96
|
+
Args:
|
97
|
+
data_name_regex_pattern (String): A regular expression string
|
98
|
+
|
99
|
+
Returns:
|
100
|
+
List[URL]: List of URLs.
|
101
|
+
"""
|
102
|
+
def get_last_update_timestamp_for(self, data_name: ostk.core.type.String) -> ostk.physics.time.Instant:
|
103
|
+
"""
|
104
|
+
Check if there are updates for data of a certain name.
|
105
|
+
|
106
|
+
Args:
|
107
|
+
data_name (String): Name of the data to query. This is the key for the data entry in the manifest file.
|
108
|
+
|
109
|
+
Returns:
|
110
|
+
Instant: Instant indicating when the data was last updated on the remote, according to the manifest record.
|
111
|
+
"""
|
112
|
+
def get_manifest(self) -> ...:
|
113
|
+
"""
|
114
|
+
Get a copy of the current manifest file.
|
115
|
+
|
116
|
+
Returns:
|
117
|
+
Manifest: Manifest.
|
118
|
+
"""
|
119
|
+
def get_remote_data_urls(self, data_name: ostk.core.type.String) -> list[ostk.io.URL]:
|
120
|
+
"""
|
121
|
+
Get the remote data URL for a given data name.
|
122
|
+
|
123
|
+
Args:
|
124
|
+
data_name (String): Name of the data. i.e. the key for the data entry in the manifest
|
125
|
+
|
126
|
+
Returns:
|
127
|
+
List[URL]: List of URLs.
|
128
|
+
"""
|
129
|
+
def get_remote_url(self) -> ostk.io.URL:
|
130
|
+
"""
|
131
|
+
Get the remote URL. This points to the base URL for the OSTk input data.
|
132
|
+
|
133
|
+
Returns:
|
134
|
+
URL: Remote URL.
|
135
|
+
"""
|
136
|
+
def load_manifest(self, manifest: typing.Any) -> None:
|
137
|
+
"""
|
138
|
+
Load a new manifest file.
|
139
|
+
|
140
|
+
Args:
|
141
|
+
manifest (Manifest): Manifest.
|
142
|
+
"""
|
143
|
+
def manifest_file_exists(self) -> bool:
|
144
|
+
"""
|
145
|
+
Return true if a manifest file already exists in the directory.
|
146
|
+
|
147
|
+
Returns:
|
148
|
+
bool: True if the manifest file exists.
|
149
|
+
"""
|
150
|
+
def reset(self) -> None:
|
151
|
+
"""
|
152
|
+
Reset the manager.
|
153
|
+
|
154
|
+
Unload the manifest file and forget manifest age.
|
155
|
+
"""
|
156
|
+
def set_remote_url(self, remote_url: ostk.io.URL) -> None:
|
157
|
+
"""
|
158
|
+
Set the remote URL.
|
159
|
+
|
160
|
+
Args:
|
161
|
+
remote_url (Directory): Remote URL.
|
162
|
+
"""
|
163
|
+
class Manifest:
|
164
|
+
"""
|
165
|
+
|
166
|
+
Data class for the OSTk Data Manifest.
|
167
|
+
|
168
|
+
|
169
|
+
"""
|
170
|
+
@staticmethod
|
171
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
172
|
+
...
|
173
|
+
@staticmethod
|
174
|
+
def load(file: ostk.core.filesystem.File) -> Manifest:
|
175
|
+
"""
|
176
|
+
Load a manifest from a file.
|
177
|
+
|
178
|
+
Args:
|
179
|
+
file (File): A manifest file.
|
180
|
+
|
181
|
+
Returns:
|
182
|
+
Manifest: Manifest.
|
183
|
+
"""
|
184
|
+
@staticmethod
|
185
|
+
def undefined() -> Manifest:
|
186
|
+
"""
|
187
|
+
Create an undefined manifest.
|
188
|
+
|
189
|
+
Returns:
|
190
|
+
Manifest: Undefined manifest.
|
191
|
+
"""
|
192
|
+
def __repr__(self) -> str:
|
193
|
+
...
|
194
|
+
def __str__(self) -> str:
|
195
|
+
...
|
196
|
+
def find_remote_data_urls(self, base_url: ostk.io.URL, data_name_regex_pattern: ostk.core.type.String) -> list[ostk.io.URL]:
|
197
|
+
"""
|
198
|
+
Return remote data URLs the for data items matching the given name regex string.
|
199
|
+
|
200
|
+
Args:
|
201
|
+
base_url (URL): A base URL for remote data.
|
202
|
+
data_name_regex_pattern (String): A data name regex string.
|
203
|
+
|
204
|
+
Returns:
|
205
|
+
list[URL]: List of remote data URLs.
|
206
|
+
"""
|
207
|
+
def get_last_modified_timestamp(self) -> ostk.physics.time.Instant:
|
208
|
+
"""
|
209
|
+
Get last update timestamp.
|
210
|
+
|
211
|
+
Returns:
|
212
|
+
Instant: Instant indicating when the manifest was last updated based on file modification time.
|
213
|
+
"""
|
214
|
+
def get_last_update_timestamp_for(self, data_name: ostk.core.type.String) -> ostk.physics.time.Instant:
|
215
|
+
"""
|
216
|
+
Get last update timestamp for data.
|
217
|
+
|
218
|
+
Args:
|
219
|
+
data_name (String): A data name.
|
220
|
+
|
221
|
+
Returns:
|
222
|
+
Instant: Last update instant for data.
|
223
|
+
"""
|
224
|
+
def get_next_update_check_timestamp_for(self, data_name: ostk.core.type.String) -> ostk.physics.time.Instant:
|
225
|
+
"""
|
226
|
+
Get next update check timestamp for data.
|
227
|
+
|
228
|
+
Args:
|
229
|
+
data_name (String): A data name.
|
230
|
+
|
231
|
+
Returns:
|
232
|
+
Instant: Next update check instant for data.
|
233
|
+
"""
|
234
|
+
def get_remote_data_urls(self, base_url: ostk.io.URL, data_name: ostk.core.type.String) -> list[ostk.io.URL]:
|
235
|
+
"""
|
236
|
+
Get the remote data URL for a given data name.
|
237
|
+
|
238
|
+
Args:
|
239
|
+
base_url (URL): A base URL for remote data.
|
240
|
+
data_name (String): Name of the data. i.e. the key for the data entry in the manifest.
|
241
|
+
|
242
|
+
Returns:
|
243
|
+
list[URL]: List of remote data URLs.
|
244
|
+
"""
|
245
|
+
def is_defined(self) -> bool:
|
246
|
+
"""
|
247
|
+
Check if the manifest is defined.
|
248
|
+
|
249
|
+
Returns:
|
250
|
+
bool: True if defined.
|
251
|
+
"""
|
252
|
+
class Scalar:
|
253
|
+
"""
|
254
|
+
|
255
|
+
Scalar quantity.
|
256
|
+
|
257
|
+
A scalar quantity is a physical quantity that can be described by a single element of a
|
258
|
+
number field such as a real number, often accompanied by units of measurement.
|
259
|
+
|
260
|
+
:reference: https://en.wikipedia.org/wiki/Scalar_(physics)
|
261
|
+
|
262
|
+
|
263
|
+
"""
|
264
|
+
__hash__: typing.ClassVar[None] = None
|
265
|
+
@staticmethod
|
266
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
267
|
+
...
|
268
|
+
@staticmethod
|
269
|
+
def undefined() -> Scalar:
|
270
|
+
"""
|
271
|
+
Create an undefined scalar.
|
272
|
+
|
273
|
+
Returns:
|
274
|
+
Scalar: Undefined scalar.
|
275
|
+
"""
|
276
|
+
def __eq__(self, arg0: Scalar) -> bool:
|
277
|
+
"""
|
278
|
+
Equality operator.
|
279
|
+
|
280
|
+
Args:
|
281
|
+
other (Scalar): Other scalar.
|
282
|
+
|
283
|
+
Returns:
|
284
|
+
bool: True if equal.
|
285
|
+
"""
|
286
|
+
def __init__(self, value: ostk.core.type.Real, unit: ostk.physics.Unit) -> None:
|
287
|
+
"""
|
288
|
+
Construct a Scalar.
|
289
|
+
|
290
|
+
Args:
|
291
|
+
value (Real): Value.
|
292
|
+
unit (Unit): Unit.
|
293
|
+
"""
|
294
|
+
def __ne__(self, arg0: Scalar) -> bool:
|
295
|
+
"""
|
296
|
+
Inequality operator.
|
297
|
+
|
298
|
+
Args:
|
299
|
+
other (Scalar): Other scalar.
|
300
|
+
|
301
|
+
Returns:
|
302
|
+
bool: True if not equal.
|
303
|
+
"""
|
304
|
+
def __repr__(self) -> str:
|
305
|
+
...
|
306
|
+
def __str__(self) -> str:
|
307
|
+
...
|
308
|
+
def get_unit(self) -> ostk.physics.Unit:
|
309
|
+
"""
|
310
|
+
Get unit.
|
311
|
+
|
312
|
+
Returns:
|
313
|
+
Unit: Unit.
|
314
|
+
"""
|
315
|
+
def get_value(self) -> ostk.core.type.Real:
|
316
|
+
"""
|
317
|
+
Get value.
|
318
|
+
|
319
|
+
Returns:
|
320
|
+
float: Value.
|
321
|
+
"""
|
322
|
+
def in_unit(self, unit: ostk.physics.Unit) -> Scalar:
|
323
|
+
"""
|
324
|
+
Convert to unit.
|
325
|
+
|
326
|
+
Args:
|
327
|
+
unit (Unit): Unit.
|
328
|
+
|
329
|
+
Returns:
|
330
|
+
Scalar: Scalar in the specified unit.
|
331
|
+
"""
|
332
|
+
def is_defined(self) -> bool:
|
333
|
+
"""
|
334
|
+
Check if the scalar is defined.
|
335
|
+
|
336
|
+
Returns:
|
337
|
+
bool: True if defined.
|
338
|
+
"""
|
339
|
+
def to_string(self, precision: ostk.core.type.Integer = ...) -> ostk.core.type.String:
|
340
|
+
"""
|
341
|
+
Convert to string.
|
342
|
+
|
343
|
+
Args:
|
344
|
+
precision (int): Precision.
|
345
|
+
|
346
|
+
Returns:
|
347
|
+
str: String representation.
|
348
|
+
"""
|
349
|
+
class Vector:
|
350
|
+
"""
|
351
|
+
|
352
|
+
Vector quantity
|
353
|
+
|
354
|
+
|
355
|
+
"""
|
356
|
+
__hash__: typing.ClassVar[None] = None
|
357
|
+
@staticmethod
|
358
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
359
|
+
...
|
360
|
+
@staticmethod
|
361
|
+
def undefined() -> Vector:
|
362
|
+
"""
|
363
|
+
Create an undefined vector.
|
364
|
+
|
365
|
+
Returns:
|
366
|
+
Vector: Undefined vector.
|
367
|
+
"""
|
368
|
+
def __eq__(self, arg0: Vector) -> bool:
|
369
|
+
"""
|
370
|
+
Equality operator.
|
371
|
+
|
372
|
+
Args:
|
373
|
+
other (Vector): Other vector.
|
374
|
+
|
375
|
+
Returns:
|
376
|
+
bool: True if equal.
|
377
|
+
"""
|
378
|
+
def __init__(self, value: numpy.ndarray[numpy.float64[3, 1]], unit: ostk.physics.Unit, frame: ostk.physics.coordinate.Frame) -> None:
|
379
|
+
"""
|
380
|
+
Construct a Vector.
|
381
|
+
|
382
|
+
Args:
|
383
|
+
value (np.ndarray): Value.
|
384
|
+
unit (Unit): Unit.
|
385
|
+
frame (Frame): Frame.
|
386
|
+
"""
|
387
|
+
def __ne__(self, arg0: Vector) -> bool:
|
388
|
+
"""
|
389
|
+
Inequality operator.
|
390
|
+
|
391
|
+
Args:
|
392
|
+
other (Vector): Other vector.
|
393
|
+
|
394
|
+
Returns:
|
395
|
+
bool: True if not equal.
|
396
|
+
"""
|
397
|
+
def __repr__(self) -> str:
|
398
|
+
...
|
399
|
+
def __str__(self) -> str:
|
400
|
+
...
|
401
|
+
def get_frame(self) -> ostk.physics.coordinate.Frame:
|
402
|
+
"""
|
403
|
+
Get frame.
|
404
|
+
|
405
|
+
Returns:
|
406
|
+
Frame: Frame.
|
407
|
+
"""
|
408
|
+
def get_unit(self) -> ostk.physics.Unit:
|
409
|
+
"""
|
410
|
+
Get unit.
|
411
|
+
|
412
|
+
Returns:
|
413
|
+
Unit: Unit.
|
414
|
+
"""
|
415
|
+
def get_value(self) -> numpy.ndarray[numpy.float64[3, 1]]:
|
416
|
+
"""
|
417
|
+
Get value.
|
418
|
+
|
419
|
+
Returns:
|
420
|
+
np.ndarray: Value.
|
421
|
+
"""
|
422
|
+
def in_frame(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> Vector:
|
423
|
+
"""
|
424
|
+
Convert to frame.
|
425
|
+
|
426
|
+
Args:
|
427
|
+
frame (Frame): Frame.
|
428
|
+
instant (Instant): Instant.
|
429
|
+
|
430
|
+
Returns:
|
431
|
+
Vector: Vector in frame.
|
432
|
+
"""
|
433
|
+
def in_unit(self, unit: ostk.physics.Unit) -> Vector:
|
434
|
+
"""
|
435
|
+
Convert to unit.
|
436
|
+
|
437
|
+
Args:
|
438
|
+
unit (Unit): Unit.
|
439
|
+
|
440
|
+
Returns:
|
441
|
+
Vector: Vector in unit.
|
442
|
+
"""
|
443
|
+
def is_defined(self) -> bool:
|
444
|
+
"""
|
445
|
+
Check if the vector is defined.
|
446
|
+
|
447
|
+
Returns:
|
448
|
+
bool: True if defined.
|
449
|
+
"""
|
450
|
+
def to_string(self, precision: ostk.core.type.Integer = 6) -> ostk.core.type.String:
|
451
|
+
"""
|
452
|
+
Convert to (formatted) string.
|
453
|
+
|
454
|
+
Args:
|
455
|
+
precision (Integer): Precision.
|
456
|
+
|
457
|
+
Returns:
|
458
|
+
str: String representation.
|
459
|
+
"""
|
@@ -0,0 +1,21 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import ostk.physics
|
3
|
+
import ostk.physics.coordinate
|
4
|
+
import ostk.physics.data
|
5
|
+
import ostk.physics.environment.object
|
6
|
+
__all__ = ['nadir']
|
7
|
+
def nadir(position: ostk.physics.coordinate.Position, celestial: ostk.physics.environment.object.Celestial, environment: ostk.physics.Environment) -> ostk.physics.data.Direction:
|
8
|
+
"""
|
9
|
+
Nadir.
|
10
|
+
|
11
|
+
Compute the nadir direction from a given position.
|
12
|
+
The instant of the position is inferred from the environment.
|
13
|
+
|
14
|
+
Args:
|
15
|
+
position (Position): Position.
|
16
|
+
celestial (Celestial): Celestial object.
|
17
|
+
environment (Environment): Environment.
|
18
|
+
|
19
|
+
Returns:
|
20
|
+
Direction: Nadir direction.
|
21
|
+
"""
|
@@ -0,0 +1,108 @@
|
|
1
|
+
from __future__ import annotations
|
2
|
+
import ostk.core.type
|
3
|
+
import ostk.physics.coordinate
|
4
|
+
import ostk.physics.time
|
5
|
+
from . import atmospheric
|
6
|
+
from . import gravitational
|
7
|
+
from . import magnetic
|
8
|
+
from . import object
|
9
|
+
__all__ = ['Object', 'atmospheric', 'gravitational', 'magnetic', 'object']
|
10
|
+
class Object:
|
11
|
+
"""
|
12
|
+
|
13
|
+
This class represents a physical object in the environment.
|
14
|
+
It can be subclassed to represent specific types of objects, like celestial bodies.
|
15
|
+
|
16
|
+
"""
|
17
|
+
@staticmethod
|
18
|
+
def _pybind11_conduit_v1_(*args, **kwargs):
|
19
|
+
...
|
20
|
+
def __repr__(self) -> str:
|
21
|
+
"""
|
22
|
+
Returns:
|
23
|
+
str: a string representation of the Object. Similar to __str__.
|
24
|
+
"""
|
25
|
+
def __str__(self) -> str:
|
26
|
+
"""
|
27
|
+
Returns:
|
28
|
+
str: a string representation of the Object.
|
29
|
+
"""
|
30
|
+
def access_frame(self) -> ostk.physics.coordinate.Frame:
|
31
|
+
"""
|
32
|
+
Accesses the frame of the Object.
|
33
|
+
|
34
|
+
Returns:
|
35
|
+
Frame: The frame of the Object.
|
36
|
+
"""
|
37
|
+
def access_name(self) -> ostk.core.type.String:
|
38
|
+
"""
|
39
|
+
Accesses the name of the Object.
|
40
|
+
|
41
|
+
Returns:
|
42
|
+
str: The name of the Object.
|
43
|
+
"""
|
44
|
+
def get_axes_in(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ostk.physics.coordinate.Axes:
|
45
|
+
"""
|
46
|
+
Gets the axes of the Object in a given frame.
|
47
|
+
|
48
|
+
Args:
|
49
|
+
frame (Frame): The frame in which the axes are expressed.
|
50
|
+
instant (Instant): The instant at which the axes are computed.
|
51
|
+
|
52
|
+
Returns:
|
53
|
+
Axes: the axes of the Object.
|
54
|
+
"""
|
55
|
+
def get_geometry(self) -> ...:
|
56
|
+
"""
|
57
|
+
Gets the geometry of the Object.
|
58
|
+
|
59
|
+
Returns:
|
60
|
+
Geometry: The geometry of the Object.
|
61
|
+
"""
|
62
|
+
def get_geometry_in(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ...:
|
63
|
+
"""
|
64
|
+
Gets the geometry of the Object in a given frame.
|
65
|
+
|
66
|
+
Args:
|
67
|
+
frame (Frame): The frame in which the geometry is expressed.
|
68
|
+
instant (Instant): The instant at which the geometry is computed.
|
69
|
+
|
70
|
+
Returns:
|
71
|
+
Geometry: the geometry of the Object.
|
72
|
+
"""
|
73
|
+
def get_name(self) -> ostk.core.type.String:
|
74
|
+
"""
|
75
|
+
Gets the name of the Object.
|
76
|
+
|
77
|
+
Returns:
|
78
|
+
str: The name of the Object.
|
79
|
+
"""
|
80
|
+
def get_position_in(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ostk.physics.coordinate.Position:
|
81
|
+
"""
|
82
|
+
Gets the position of the Object in a given frame.
|
83
|
+
|
84
|
+
Args:
|
85
|
+
frame (Frame): The frame in which the position is expressed.
|
86
|
+
instant (Instant): The instant at which the position is computed.
|
87
|
+
|
88
|
+
Returns:
|
89
|
+
Position: The position of the Object.
|
90
|
+
"""
|
91
|
+
def get_transform_to(self, frame: ostk.physics.coordinate.Frame, instant: ostk.physics.time.Instant) -> ostk.physics.coordinate.Transform:
|
92
|
+
"""
|
93
|
+
Gets the transformation from the Object to a given frame.
|
94
|
+
|
95
|
+
Args:
|
96
|
+
frame (Frame): The frame to which the transformation is expressed.
|
97
|
+
instant (Instant): The instant at which the transformation is computed.
|
98
|
+
|
99
|
+
Returns:
|
100
|
+
Transformation: the transformation.
|
101
|
+
"""
|
102
|
+
def is_defined(self) -> bool:
|
103
|
+
"""
|
104
|
+
Checks if the Object is defined.
|
105
|
+
|
106
|
+
Returns:
|
107
|
+
bool: True if the Object is defined, False otherwise.
|
108
|
+
"""
|