Method CompareTo
CompareTo(DataPoint<TDataType>)
Compare DataPoint Index values.
Declaration
public int CompareTo(DataPoint<TDataType> other)
Parameters
Type | Name | Description |
---|---|---|
DataPoint<TDataType> | other | The DataPoint to compare against. |
Returns
Type | Description |
---|---|
int | An integer less than 0 if other.Key is greater than Index, 0 if key values are equal, and greater than 0 when other.Key is less than Index. |
Implements
CompareTo(float)
Compare DataPoint Index values.
Declaration
public int CompareTo(float other)
Parameters
Type | Name | Description |
---|---|---|
float | other | An interpolation ratio to compare against. |
Returns
Type | Description |
---|---|
int | An integer less than 0 if other.Key is greater than Index, 0 if key values are equal, and greater than 0 when other.Key is less than Index. |