Compare two triangles and return true if equal

C# | Visual Basic | Visual C++ |
public bool Equals( Triangle2D<T> tri )
Public Function Equals ( _ tri As Triangle2D(Of T) _ ) As Boolean
public: bool Equals( Triangle2D<T>^ tri )

- tri (Triangle2D<(Of <(T>)>))
- the other triangles to compare with

true if the two triangles equals, false otherwise