Hi,

I want to detect intersections of a small rectangle with the outline
of an open-ended (ie., no close path between the end points)
CubicCurve2D.

I am doing a

(ccurve.intersects(rect) == true && ccurve.contains(rect) == false)

but this still does not eliminate the cases when the rect includes
portions of (invisible) line segment(cord) that joins the end-points of
the curve.

Adding cord.intersects(rect) == false to the above still does not work
since then
it fails at places where rect includes portions of both the curve and
the cord.

Any ideas..

Thanks,
Satish.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to