Class PointPair.PointPairComparerY
Compares points based on their y values. Is setup to be used in an ascending order sort. System.Collections.ArrayList.Sort
Inheritance
System.Object
PointPair.PointPairComparerY
Implements
System.Collections.Generic.IComparer<PointPair>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ZedGraph
Assembly: ZedGraph.dll
Syntax
public class PointPairComparerY : IComparer<PointPair>
Methods
| Improve this Doc View SourceCompare(PointPair, PointPair)
Compares two PointPairs.
Declaration
public int Compare(PointPair l, PointPair r)
Parameters
Type | Name | Description |
---|---|---|
PointPair | l | Point to the left. |
PointPair | r | Point to the right. |
Returns
Type | Description |
---|---|
System.Int32 | -1, 0, or 1 depending on l.Y's relation to r.Y |
Implements
System.Collections.Generic.IComparer<T>