Advertisement

How to check if a point is within a triangle....

Started by October 24, 2001 09:12 AM
9 comments, last by jollyjeffers 23 years, 3 months ago
hey thanks people.... some interesting solutions; I intend to document the final code that I use, and I''ll include your ideas (I''d never thought of dividing into 3 triangles)...

I finally solved my problem using some sort of barycentric coordinate system... and it seems to work pretty welll.


Jack;

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

This topic is closed to new replies.

Advertisement