Length/Percentage of a line within a polygon square.

2 次查看(过去 30 天)
Grid lines and blue lines have been plotted as lines. Numbers are labels.
I'd like to calculate the length of each line inside each polygon.
So the line starting at (1,1) goes through the square 1 and square 2 and beyond.
What percentage of the line is inside square 1 and what percentage is in line 2?
Or what is the length of the line inside each square?
Thanks for your time.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Elementary Polygons 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by