You could use the built-in Curve.Contains method to check whether a point is inside, outside or on a curve. Or you could use the winding number approach as described here:
You could use the built-in Curve.Contains method to check whether a point is inside, outside or on a curve. Or you could use the winding number approach as described here: