Question

I am using the delaunay triangulation code by Geoff Leach based on the guibas stolfi algorithm.

here's the link

I took randomly generated integers between 50 to 1550 as the coordinates for the points.When i take more than 280 points the output gets distorted.

this is the distorted output

Was it helpful?

Solution

Ok, isolved the distorted output thing. It was due to the incorrect scaling.My random points were in a square of side of 1500,had to change it to a rectangle corresponding to my aspect ratio.Gnuplot preserves the aspect ratio. Everything's fine now

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top