Re: finding if point is inside irregular rectangle
- Posted by Derek Parnell <ddparnell at bigpond.com> Feb 25, 2002
- 432 views
No Chris, he means a four-side shape - a quadrilateral. The internal angles don't have to be 90 degrees, just have to total 360 degrees. ----- Original Message ----- From: <bensler at mail.com> To: "EUforum" <EUforum at topica.com> Subject: RE: finding if point is inside irregular rectangle > > He means a rectangle that is not exactly horizontal and vertical. It's > still a rectangle, but on an angle, like a diamond with 90 degree > corners. > > Chris > > Brian Broker wrote: > > Hate to be a stickler here but "irregular rectangle" sounds like an > > oxymoron. A rectangle is a four-sided polygon having all right angles. > > > > Perhaps you mean "irregular quadrilateral"... > > > > -- BB > > > > > > tone.skoda at siol.net wrote: > > > Here's another problem: I need to find out if point lies inside > > > an irregular rectangle. Irregular rectangle has > > > 4 corners but they don't need to be 90 degree, although they can still > > > be. > > > > > > Example of irregular rectangle: > > > > > > >