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