Add point in or out detection method to ClosedCurve class.