Determining the new faces (subpolygons) when vertical lines intersect polygon

2 ビュー (過去 30 日間)
Sososasa
Sososasa 2014 年 3 月 22 日
コメント済み: Sososasa 2014 年 3 月 23 日
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?

採用された回答

Image Analyst
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 件のコメント
Image Analyst
Image Analyst 2014 年 3 月 23 日
No, not unless you make it an image - a true color RGB image with pixels.
Sososasa
Sososasa 2014 年 3 月 23 日
Ok thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by