mathnet / mathnet-spatial

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

Equality alignment for remaining entities #140

Closed Jones-Adam closed 6 years ago

Jones-Adam commented 6 years ago

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

Additionally PolyLine2D and PolyLine3D are aligned to Polygon2D for vertex interface