Is there a datastructure like a Dictionary that allows adding unique elements based on the .Equals() call defined for a given class rather than hash value.
In my case, I have a PointD class defining a point with decimal X and Y. Due to the nature of decimal types being a little inexact, creating a hash on the point is not possible, as a small error between two points that are essentially the same will cause major difference in hash value.
Basically, I want to be able to count the number of points of each x, y combination. Is there an existing mechanism for this, or do I need to implement this myself?