ostk.physics.environment.Object¶
- class Object¶
Bases:
pybind11_object
This class represents a physical object in the environment. It can be subclassed to represent specific types of objects, like celestial bodies.
Methods
Accesses the frame of the Object.
Accesses the name of the Object.
Gets the axes of the Object in a given frame.
Gets the geometry of the Object.
Gets the geometry of the Object in a given frame.
Gets the name of the Object.
Gets the position of the Object in a given frame.
Gets the transformation from the Object to a given frame.
Checks if the Object is defined.
- access_frame( ) ostk.physics.coordinate.Frame ¶
Accesses the frame of the Object.
- Returns:
The frame of the Object.
- Return type:
- access_name(self: ostk.physics.environment.Object) ostk.core.type.String ¶
Accesses the name of the Object.
- Returns:
The name of the Object.
- Return type:
- get_axes_in(
- self: ostk.physics.environment.Object,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Gets the axes of the Object in a given frame.
- get_geometry( ) ostk::physics::environment::object::Geometry ¶
Gets the geometry of the Object.
- Returns:
The geometry of the Object.
- Return type:
- get_geometry_in(
- self: ostk.physics.environment.Object,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Gets the geometry of the Object in a given frame.
- get_name(self: ostk.physics.environment.Object) ostk.core.type.String ¶
Gets the name of the Object.
- Returns:
The name of the Object.
- Return type:
- get_position_in(
- self: ostk.physics.environment.Object,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Gets the position of the Object in a given frame.
- get_transform_to(
- self: ostk.physics.environment.Object,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Gets the transformation from the Object to a given frame.
- is_defined(self: ostk.physics.environment.Object) bool ¶
Checks if the Object is defined.
- Returns:
True if the Object is defined, False otherwise.
- Return type: