getScaleBoundsC1D2 method

List<int> getScaleBoundsC1D2(
  1. double x
)

Gets the x1,x2 @param x cx coord @return x1,x2

Implementation

List<int> getScaleBoundsC1D2(double x) {
  int fx = getRadiusFactor(x);
  return [
    (fx * scaleInterpolation).round(),
    ((fx + 1) * scaleInterpolation).round()
  ];
}