Re: finding if point is inside irregular rectangle

new topic     » goto parent     » topic index » view thread      » older message » newer message

I should have noted an important caveat: I'm assuming that both the point and 
the polygon have been converted to screen space (typically translated in the 
z direction and then divided by z).

Also, make sure you're not assuming that in a line {{x1,y1},{x2,y2}} that x1 
< x2 - you have to test it!

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu