Determining the new faces (subpolygons) when vertical lines intersect polygon
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sososasa
am 22 Mär. 2014
Kommentiert: Sososasa
am 23 Mär. 2014
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?
![](https://www.mathworks.com/matlabcentral/images/broken_image.png)
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 22 Mär. 2014
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 Kommentare
Image Analyst
am 23 Mär. 2014
No, not unless you make it an image - a true color RGB image with pixels.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Elementary Polygons finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!