Compute a Reference Frame from Three Non-Colinear Markers
Source:R/compute_frame_generic.R
compute_frame_generic.Rd
Constructs a 4x4 transformation matrix representing a reference frame defined by three non-colinear 3D points. The frame is based on: - Origin: marker_2 - X-axis: from marker_2 to marker_3 - Y-axis: from marker_2 to marker_1 - Z-axis: orthogonal to the XY-plane (via cross product) Note that x is re-computed via cross product of y and z to make the frame orthogonal