Check whether the given point is within the considered polygon. NOTE: this operates directly on the encoded representation of points.