static int onePathLookupDirection(Pt p) { ret indexOf(onePathDirections, p); }