Standard point-in-polygon test plus short-circuit speedup.