@@ -5415,6 +5428,7 @@ public class MatchSimulatedPattern {
int [] uv){
grid[uv[1]][uv[0]]=null;
}
private void markDeletedPatternGridCell(
double [][][][] grid,
int [] uv){
@@ -5426,8 +5440,10 @@ public class MatchSimulatedPattern {
else
newXYC[i]=Double.NaN;
}
grid[uv[1]][uv[0]][0]=newXYC;
}
grid[uv[1]][uv[0]]=null;
// grid[uv[1]][uv[0]]=null;
}
private boolean isCellNew( //modified, for invalid uv will return "not new"
double [][][][] grid,
@@ -5565,7 +5581,7 @@ public class MatchSimulatedPattern {
public int gridUVHeight(){return ((this.PATTERN_GRID==null) || (this.PATTERN_GRID.length==0l) ||(this.PATTERN_GRID[0]==null))?0:this.PATTERN_GRID.length;}