angleFrom2Vectors#

pyCGM2.Math.geometry.angleFrom2Vectors(v1: ndarray, v2: ndarray, vn: ndarray | None = None) float#

Compute a signed angle between two vectors, optionally using a common orthogonal vector.

Parameters:
  • v1 (np.ndarray) – First vector.

  • v2 (np.ndarray) – Second vector.

  • vn (Optional[np.ndarray], optional) – Common orthogonal vector. Defaults to None.

Returns:

float – Signed angle between the two vectors.