mathnet / mathnet-spatial

Math.NET Spatial
http://spatial.mathdotnet.com
MIT License
376 stars 132 forks source link

Equality Fixes - Point2D, Circle2D, Polygon2D, Vector2D, LineSegment2D #139

Closed Jones-Adam closed 6 years ago

Jones-Adam commented 6 years ago

All listed types now consistently implement: Equals override Equals(object) GetHashCode - using internal HashCode struct Equals(T, double tolerance) Operator overrides for == and !=

JohanLarsson commented 6 years ago

Looks nice, thanks for doing this!