Beispiel #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 /// <param name="epsilon"></param>
 /// <returns></returns>
 public bool ApproxEquals(ref Transform3d other, double epsilon = D.ZeroTolerance)
 {
     return
         (Translation.ApproxEquals(other.Translation, epsilon) &&
          Rotation.ApproxEquals(ref other.Rotation, epsilon) &&
          Scale.ApproxEquals(other.Scale, epsilon));
 }
Beispiel #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="other"></param>
 /// <param name="epsilon"></param>
 /// <returns></returns>
 public bool ApproxEquals(ref Orient3d other, double epsilon = D.ZeroTolerance)
 {
     return
         (Translation.ApproxEquals(other.Translation, epsilon) &&
          Rotation.ApproxEquals(ref other.Rotation, epsilon));
 }