If a line segment is entirely inside or outside a curve it does not intersect the curve. In order to check the position of a line against a curve, first compute the intersection. If the result is null, the line may be either inside or outside. ... more on Design Patterns CA
SeleLinesInsideCurve Manipulations