get_euler_angles: Calculate the Euler angles for rotating A onto B.

View source: R/utils-MuscleTernary.R

get_euler_anglesR Documentation

Calculate the Euler angles for rotating A onto B.

Description

The utility is to set up geometry with a known normal (0, 1, 0), and calculate the xyz rotation sequence to match another vector.

Usage

get_euler_angles(A, B)

Arguments

A

Vector (usually the unit vector)

B

Vector

Value

Euler angles between A and B


Middleton-Lab/MuscleTernary documentation built on April 26, 2024, 11:29 a.m.