rot_to_euler: Rotation Matrix to Euler Angle Transform

View source: R/rot_to_euler.R

rot_to_eulerR Documentation

Rotation Matrix to Euler Angle Transform

Description

Transforms a rotation matrix (R_X R_Y R_Z) into Euler angles.

Usage

rot_to_euler(rotmat)

Arguments

rotmat

The rotation matrix. Can be 3x3 or 4x4 (homogeneous coordinates).

Value

Euler angles in degrees. c(phi,theta,yaw)

Examples

#None

rayshader documentation built on July 9, 2023, 7:11 p.m.