getLocation method

int getLocation(
  1. int geomIndex,
  2. int posIndex
)

Implementation

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