pyCGM2.Model.frame.setFrameData#
- pyCGM2.Model.frame.setFrameData(a1: ndarray, a2: ndarray, sequence: str) Tuple[ndarray, ndarray, ndarray, ndarray]#
- Sets the axes and rotation matrix of a coordinate system from two vectors and a sequence. - Parameters:
- a1 (np.ndarray) – First vector of shape (3,). 
- a2 (np.ndarray) – Second vector of shape (3,). 
- sequence (str) – Construction sequence (e.g., ‘XYZ’, ‘XYiZ’). 
 
- Returns:
- Tuple[np.ndarray, np.ndarray, np.ndarray, np.ndarray] – The x-axis, y-axis, z-axis, and rotation matrix. 
 
