computeTag static method

int computeTag(
  1. double x,
  2. double y
)

Implementation

static int computeTag(double x, double y) {
  return ((y + yOffset).toInt() << yShift) + ((xScale * x).toInt() + xOffset);
}