getLocation method
Implementation
int getLocation(int geomIndex, Coordinate p, List<GeometryGraph> geom) {
// compute location only on demand
if (ptInAreaLocation[geomIndex] == Location.NONE) {
ptInAreaLocation[geomIndex] = SimplePointInAreaLocator.locatePointInGeom(
p, geom[geomIndex].getGeometry()!);
}
return ptInAreaLocation[geomIndex];
}