Table of Contents

Class Point.EpsilonPointComparer

Namespace
LMKit.Graphics.Geometry
Assembly
LM-Kit.NET.dll

An equality comparer for Point that treats two points as equal when their coordinates are within a specified tolerance.

public sealed class Point.EpsilonPointComparer : IEqualityComparer<Point>
Inheritance
Point.EpsilonPointComparer
Implements
Inherited Members

Constructors

EpsilonPointComparer(double)

Creates a new comparer with the given tolerance.

Methods

Equals(Point, Point)

Determines whether two points are equal within the configured tolerance.

GetHashCode(Point)

Generates a hash code that is stable under the configured tolerance by quantizing coordinates.