getScaleBoundsC3D4 method
Gets the x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
@param x cx coord
@return x1,x2,x3,x4,y1,y2,y3,y4,z1,z2,z3,z4
Implementation
List<int> getScaleBoundsC3D4(double x, double y, double z) {
int fx = getRadiusFactor(x);
int fy = getRadiusFactor(y);
int fz = getRadiusFactor(z);
return [
((fx - 1) * scaleInterpolation).round(),
(fx * scaleInterpolation).round(),
((fx + 1) * scaleInterpolation).round(),
((fx + 2) * scaleInterpolation).round(),
((fy - 1) * scaleInterpolation).round(),
(fy * scaleInterpolation).round(),
((fy + 1) * scaleInterpolation).round(),
((fy + 2) * scaleInterpolation).round(),
((fz - 1) * scaleInterpolation).round(),
(fz * scaleInterpolation).round(),
((fz + 1) * scaleInterpolation).round(),
((fz + 2) * scaleInterpolation).round()
];
}