py3dframe.Frame.global_z_axis#

property Frame.global_z_axis: ndarray#

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

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

Note

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

See also

  • attribute parent to get or set the parent frame.

  • attribute global_x_axis to access the x-axis of the frame.

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

  • attribute z_axis to access the z-axis of the frame in the parent frame coordinates.

Returns:

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

Return type:

numpy.ndarray