Replace polygon vertices outside boundary by vertices on boundary
1 次查看(过去 30 天)
显示 更早的评论
Hallo,
following probelm:
I have a cell arra where the coordinates of many polygons are in, generted by a voronoi tesselation. Since my seeda are finite, the polygons at the outer limits of my rnd seeds re elongated into infinite space. Which would be the best method, to replace the verticies outside a specified limit or to generate a vertice that does not exist yet, by vertices on that limiting boundarys?
As you can see in the pictute below, i want to replace the red vertices outside the black box and those which aret there because there is no intersection(right top corner), by the blue vertices, which are the intersection points of the outer boundary and polgon lines whoch have one point outide the box.
What would be the best method to do so?
2 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Elementary Polygons 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!