py3dframe.Frame.global_x_axis#

property Frame.global_x_axis: ndarray#

The x-axis of the frame relative to the global frame.

The x-axis is a 3 elements vector with shape (3, 1) representing the coordinates of the x-axis of the frame in the global frame coordinates.

Note

This property is not settable. To change the x-axis, use the global_axes attribute.

See also

  • attribute parent to get or set the parent frame.

  • attribute global_y_axis to access the y-axis of the frame.

  • attribute global_z_axis to access the z-axis of the frame.

  • attribute x_axis to access the x-axis of the frame in the parent frame coordinates.

Returns:

The x-axis of the frame in the global frame coordinates with shape (3, 1).

Return type:

numpy.ndarray