Click or drag to resize

PointComparerTPoint Class

Use this class in constructors of HashSets and Dictionaries that take point types(such as PointyHexPoint) as keys.
Inheritance Hierarchy
SystemObject
  Gamelogic.GridsPointComparerTPoint

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class PointComparer<TPoint> : IEqualityComparer<TPoint>
where TPoint : Object, IGridPoint<TPoint>

Type Parameters

TPoint

The PointComparerTPoint type exposes the following members.

Constructors
Methods
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also