/// <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)); }
/// <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(IsEqualTo(t3D, Tolerance.Global)); }