powered by
Verify convexity of the polygons.
pconvex(polygon)
A matrix with dimension l x 2, where l represent number of sides polygon.
A boolean.
# NOT RUN { x <- psim(10, 10) #simulate 10 polygons of 10 sides x <- x[[1]] pconvex(x) # }
Run the code above in your browser using DataLab