Exemple #1
0
 /// <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));
 }
Exemple #2
0
 /// <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);
 }
Exemple #3
0
 /// <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));
 }
Exemple #4
0
 /// <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);
 }