Checks if a give point lies on the contour
the contour parameter in [0..1.0) if the point is within error null otherwise
null
the point to check
what is the allowed error (unitless, but likely in pixels)