public static boolean[][] eval( boolean[][] dest, NslBoolean2 num, int start1, int start2, int end1, int end2) { boolean[][] _data = num.get(); if (start1 < 0) start1 = 0; if (start2 < 0) start2 = 0; if (end1 > _data.length) end1 = _data.length; if (end2 > _data[0].length) end2 = _data[0].length; return eval(dest, _data, start1, start2, end1, end2); }
public static boolean[][] eval(NslBoolean2 num, int start1, int start2, int end1, int end2) { boolean[][] _data = num.get(); if (start1 < 0) start1 = 0; if (start2 < 0) start2 = 0; if (end1 > _data.length) end1 = _data.length; if (end2 > _data[0].length) end2 = _data[0].length; int length1 = end1 - start1 + 1; int length2 = end2 - start2 + 1; return eval(new boolean[length1][length2], _data, start1, start2, end1, end2); }