ostk.physics.coordinate.Axes

class Axes(self, x_axis: numpy.ndarray[dtype=float64, shape=(3), order='C'], y_axis: numpy.ndarray[dtype=float64, shape=(3), order='C'], z_axis: numpy.ndarray[dtype=float64, shape=(3), order='C'], frame: ostk.physics.coordinate.Frame)

Bases: object

Axes.

Constructor.

Parameters:

Attributes

get_frame

Get the frame of reference.

in_frame

Get the axes in another frame of reference.

x

Get the X-axis.

y

Get the Y-axis.

z

Get the Z-axis.

get_frame

Get the frame of reference.

Returns:

Frame of reference.

Return type:

Frame

in_frame

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

x

Get the X-axis.

Returns:

X-axis.

Return type:

numpy.ndarray

y

Get the Y-axis.

Returns:

Y-axis.

Return type:

numpy.ndarray

z

Get the Z-axis.

Returns:

Z-axis.

Return type:

numpy.ndarray