/// <summary> /// Rotate the points in <paramref name="pointsSrc"/> and save the result in <paramref name="pointsDst"/>. In-place operation is supported (<paramref name="pointsSrc"/> == <paramref name="pointsDst"/>). /// </summary> /// <param name="pointsSrc">The points to be rotated</param> /// <param name="pointsDst">The result of the rotation, should be the same size as <paramref name="pointsSrc"/>, can be <paramref name="pointsSrc"/> as well for inplace rotation</param> public void RotatePoints(Matrix <double> pointsSrc, Matrix <double> pointsDst) { CvInvoke.quaternionsRotatePoints(ref this, pointsSrc, pointsDst); }
/// <summary> /// Fill the (3x3) rotation matrix with the value such that it represent the quaternions /// </summary> /// <param name="rotation">The (3x3) rotation matrix which values will be set to represent this quaternions</param> public void GetRotationMatrix(Matrix <double> rotation) { CvInvoke.quaternionsToRotationMatrix(ref this, rotation); }