Class Line3DEqualityComparer
- Namespace
- SearchAThing.Sci
- Assembly
- netcore-sci.dll
equality comparer helper for Line3D types
public class Line3DEqualityComparer : IEqualityComparer<Line3D>
- Inheritance
-
Line3DEqualityComparer
- Implements
- Inherited Members
Constructors
Line3DEqualityComparer(double, bool)
constructor for line3d eq cmp
public Line3DEqualityComparer(double _tol, bool _strict = false)
Parameters
_tol
doublelength tolerance
_strict
boolif false(default) two line equals even with swapped from,to
Methods
Equals(Line3D?, Line3D?)
public bool Equals(Line3D? x, Line3D? y)
Parameters
Returns
GetHashCode(Line3D)
public int GetHashCode(Line3D obj)
Parameters
obj
Line3D