static public int BindBetween(this int item, IntRange range) { return(item.BindBetween(range.x1, range.x2)); }
static public bool IsBoundBetween(this int item, IntRange range) { return(item.IsBoundBetween(range.x1, range.x2)); }
static public IntRange GetFlipped(this IntRange item) { return(new IntRange(item.x2, item.x1)); }
static public int GetBetween(IntRange range) { return(SOURCE.GetBetween(range)); }
static public IntVariance GetVariance(this IntRange item) { return(new IntVariance(item.GetCenter(), item.GetRadius())); }
static public int GetWidth(this IntRange item) { return((int)(item.x2 - item.x1)); }
static public int GetRadius(this IntRange item) { return((int)(item.GetWidth() / 2)); }
static public int GetCenter(this IntRange item) { return((int)((item.x1 + item.x2) / 2)); }
public int GetBetween(IntRange range) { return(GetBetween(range.x1, range.x2)); }