Exemple #1
0
 /// <summary>
 /// Checks if the distance between every respective Point3d in both Triangle3d is less than or equal to the Tolerance.EqualPoint value of the specified tolerance.
 /// </summary>
 /// <param name="t3d">The triangle3d to compare.</param>
 /// <param name="tol">The tolerance used in points comparisons.</param>
 /// <returns>true if the condition is met; otherwise, false.</returns>
 public bool IsEqualTo(Triangle3d t3d, Tolerance tol)
 {
     return(t3d[0].IsEqualTo(_pt0, tol) && t3d[1].IsEqualTo(_pt1, tol) && t3d[2].IsEqualTo(_pt2, tol));
 }
Exemple #2
0
 /// <summary>
 /// Checks if the distance between every respective Point3d in both Triangle3d is less than or equal to the Tolerance.Global.EqualPoint value.
 /// </summary>
 /// <param name="t3d">The triangle3d to compare.</param>
 /// <returns>true if the condition is met; otherwise, false.</returns>
 public bool IsEqualTo(Triangle3d t3d)
 {
     return(this.IsEqualTo(t3d, Tolerance.Global));
 }