ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
ScottPlot.BinarySearchComparer Class Referencesealed

IComparer<T> for various types provided by ScottPlot More...

Inheritance diagram for ScottPlot.BinarySearchComparer:
IComparer IComparer IComparer IComparer

Public Member Functions

int Compare (Coordinates a, Coordinates b)
 
int Compare (double a, double b)
 
int Compare (RootedPixelVector x, RootedPixelVector y)
 
int Compare (RootedCoordinateVector x, RootedCoordinateVector y)
 

Static Public Member Functions

static IComparer< T > GetComparer< T > ()
 

Static Public Attributes

static readonly BinarySearchComparer Instance = new()
 Thread-Safe singleton.
 

Detailed Description

IComparer<T> for various types provided by ScottPlot

Member Function Documentation

◆ Compare() [1/4]

int ScottPlot.BinarySearchComparer.Compare ( Coordinates  a,
Coordinates  b 
)

◆ Compare() [2/4]

int ScottPlot.BinarySearchComparer.Compare ( double  a,
double  b 
)

◆ Compare() [3/4]

int ScottPlot.BinarySearchComparer.Compare ( RootedCoordinateVector  x,
RootedCoordinateVector  y 
)

◆ Compare() [4/4]

int ScottPlot.BinarySearchComparer.Compare ( RootedPixelVector  x,
RootedPixelVector  y 
)

◆ GetComparer< T >()

static IComparer< T > ScottPlot.BinarySearchComparer.GetComparer< T > ( )
static

Member Data Documentation

◆ Instance

readonly BinarySearchComparer ScottPlot.BinarySearchComparer.Instance = new()
static

Thread-Safe singleton.


The documentation for this class was generated from the following file: