Class PointComparer
Compares two points for geometric equality implementing IEqualityComparer.
Implements
Inherited Members
Namespace: Advanced.Algorithms.Geometry
Assembly: Advanced.Algorithms.dll
Syntax
public class PointComparer : IEqualityComparer<Point>
Methods
Equals(Point, Point)
Declaration
public bool Equals(Point x, Point y)
Parameters
| Type | Name | Description |
|---|---|---|
| Point | x | |
| Point | y |
Returns
| Type | Description |
|---|---|
| Boolean |
GetHashCode(Point)
Declaration
public int GetHashCode(Point point)
Parameters
| Type | Name | Description |
|---|---|---|
| Point | point |
Returns
| Type | Description |
|---|---|
| Int32 |