Hi,
I have a set of points and I need to convert the set to (non-overlapping) triangles (or a big polygon if equivalent)...
The application: I have a list of locations (latitude,longitude) from a country, and I need to find if a given point is inside the counrty or not...
X X *---------* *---------*
| \ / | \ | \
| \ / | \ | \
X x => | * | * = or => | *
| / \ | / | /
| / \ | / | /
X X *---------* *---------*
Is there an easy way or do I need a PhD to code it?
Or with a huge polygon? I found http://en.wikipedia.org/wiki/Point%5Fin%5Fpolygon
Thx, JD