ostk.physics.coordinate.Axes¶
- class Axes(
- self: ostk.physics.coordinate.Axes,
- x_axis: numpy.ndarray[numpy.float64[3, 1]],
- y_axis: numpy.ndarray[numpy.float64[3, 1]],
- z_axis: numpy.ndarray[numpy.float64[3, 1]],
- frame: ostk.physics.coordinate.Frame,
- x_axis: numpy.ndarray[numpy.float64[3, 1]],
Bases:
pybind11_object
Axes.
Constructor.
- Parameters:
x_axis (numpy.ndarray) -- X-axis.
y_axis (numpy.ndarray) -- Y-axis.
z_axis (numpy.ndarray) -- Z-axis.
frame (Frame) -- Frame of reference.
Methods
Get the frame of reference.
Get the axes in another frame of reference.
Check if defined.
Get undefined axes.
Get the X-axis.
Get the Y-axis.
Get the Z-axis.
- get_frame(self: ostk.physics.coordinate.Axes) ostk.physics.coordinate.Frame ¶
Get the frame of reference.
- Returns:
Frame of reference.
- Return type:
- in_frame(
- self: ostk.physics.coordinate.Axes,
- frame: ostk.physics.coordinate.Frame,
- instant: ostk.physics.time.Instant,
- frame: ostk.physics.coordinate.Frame,
Get the axes in another frame of reference.
- is_defined(self: ostk.physics.coordinate.Axes) bool ¶
Check if defined.
- Returns:
True if defined.
- Return type:
- static undefined() ostk.physics.coordinate.Axes ¶
Get undefined axes.
- Returns:
Undefined axes.
- Return type:
- x(self: ostk.physics.coordinate.Axes) numpy.ndarray[numpy.float64[3, 1]] ¶
Get the X-axis.
- Returns:
X-axis.
- Return type:
- y(self: ostk.physics.coordinate.Axes) numpy.ndarray[numpy.float64[3, 1]] ¶
Get the Y-axis.
- Returns:
Y-axis.
- Return type:
- z(self: ostk.physics.coordinate.Axes) numpy.ndarray[numpy.float64[3, 1]] ¶
Get the Z-axis.
- Returns:
Z-axis.
- Return type: