I have some code that creates "circle" polygons given a center, radius, and number of points. The circle gets passed to some other code that happens to simplify the polygon (using DouglasPeucker).
I accidentally wound up calling this code with a radius of zero. This produced a 46-point polygon where all the points were identical. What was surprising to me is that the simplifier didn't seem to change it at all. I would have expected it to return a single point, or throw an exception, or something. Is this (doing nothing) the expected behavior? Thanks, Jeff
_______________________________________________ jts-devel mailing list [email protected] http://lists.refractions.net/mailman/listinfo/jts-devel
