Compare the two intersection records.
Declaration Syntax
C# |
public int Compare( IntersectionRecord x, IntersectionRecord y )
Parameters
- x (IntersectionRecord)
- First record
- y (IntersectionRecord)
- Second record
Return Value
-1 if x's distance is less than y's, 0 if they are about the same,
or 1 if x's distance is greater than y's
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)