int getLocation(int geomIndex, int posIndex) { if (depth[geomIndex][posIndex] <= 0) return Location.EXTERIOR; return Location.INTERIOR; }