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,
)

Bases: pybind11_object

Axes.

Constructor.

Parameters:

Methods

get_frame

Get the frame of reference.

in_frame

Get the axes in another frame of reference.

is_defined

Check if defined.

undefined

Get undefined axes.

x

Get the X-axis.

y

Get the Y-axis.

z

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:

Frame

in_frame(
self: ostk.physics.coordinate.Axes,
frame: ostk.physics.coordinate.Frame,
instant: ostk.physics.time.Instant,
) ostk.physics.coordinate.Axes

Get the axes in another frame of reference.

Parameters:
  • frame (Frame) -- Frame of reference.

  • instant (Instant) -- Instant.

Returns:

Axes in the other frame of reference.

Return type:

Axes

is_defined(self: ostk.physics.coordinate.Axes) bool

Check if defined.

Returns:

True if defined.

Return type:

bool

static undefined() ostk.physics.coordinate.Axes

Get undefined axes.

Returns:

Undefined axes.

Return type:

Axes

x(self: ostk.physics.coordinate.Axes) numpy.ndarray[numpy.float64[3, 1]]

Get the X-axis.

Returns:

X-axis.

Return type:

numpy.ndarray

y(self: ostk.physics.coordinate.Axes) numpy.ndarray[numpy.float64[3, 1]]

Get the Y-axis.

Returns:

Y-axis.

Return type:

numpy.ndarray

z(self: ostk.physics.coordinate.Axes) numpy.ndarray[numpy.float64[3, 1]]

Get the Z-axis.

Returns:

Z-axis.

Return type:

numpy.ndarray