Determining the new faces (subpolygons) when vertical lines intersect polygon
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone,
If a polygon is inside a rectangle, and a set of vertical parallel lines where each of them pass through one vertex creating new faces.
Is there algorithm to determining the points of the new faces, when a vertical parallel lines cut polygon that lies inside rectangle?
0 个评论
采纳的回答
Image Analyst
2014-3-22
If you want to do it numerically, sure. Just turn it into an array (an image) and use find() to find the intersections in each column. If you want to do it analytically, then it seems to be a theoretical math or geometry problem - not sure it's a MATLAB problem.
7 个评论
更多回答(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!