> > Problem: given a rectangle ABCD defined by four points on the > > xy-plane, detect whether a given point (a mouseclick) falls inside ABCD. > > This might help.
Forgive the missing link: http://dfns.dyalog.com/n_abc.htm -- Stefano [ "Once you say you're going to settle for second, that's what happens to you in life." --- John F. Kennedy ] ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
