void add3(int geomIndex, int posIndex, int location) { if (location == Location.INTERIOR) depth[geomIndex][posIndex]++; }