/// <summary> /// /// </summary> /// <param name="r0"></param> /// <param name="r1"></param> public static Rotation3d CreateRelative(ref Rotation3d r0, ref Rotation3d r1) { return(r1.Apply(r0.Inverse)); }
/// <summary> /// Applies the inverse of this rotation to the given rotation. /// </summary> /// <param name="other"></param> /// <returns></returns> public Rotation3d ApplyInverse(Rotation3d other) { ApplyInverse(ref other); return(other); }
/// <summary> /// Applies the inverse of this rotation to the given rotation. /// </summary> /// <param name="other"></param> /// <returns></returns> public void ApplyInverse(ref Rotation3d other) { other.SetXY(ApplyInverse(other._x), ApplyInverse(other._y)); }
/// <summary> /// Applies this rotation to the given rotation. /// </summary> /// <param name="other"></param> /// <returns></returns> public Rotation3d Apply(Rotation3d other) { Apply(ref other); return(other); }