Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to compute overlap between nearly parallel two line segments
    text
    copied!<p>I have equally oriented (but not exactly parallel) 2D line segments. I want to find out a line segment which is given maximum overlap with a given line segment. I think scalars can be used to compute this effectively, but my geometry is too poor to figure out this. for example, in the below figure; dark line is assumed as the given line and red highlighted line segment is given the maximum coverage (or longest overlap, not sure whether my terminology is correct) when compared to other line segments.</p> <blockquote> <p>My objective is to find the best line which represents the dark line from the other line segment sets.</p> </blockquote> <p>what i want to find is any line which has maximum coverage to a given line. that mean, i want to avoid line segments whose starts and ends are out of the ends of the given line segment. also, when many lines give their maximum coverage for the given line, then i want to avoid shorter line and need a long one. <code>idea is to find another line which we can consider instead of that given line segment</code></p> <p>helps are highly appreciated as later i want to implement this in programming environment. thanks</p> <p>example 1 <img src="https://i.stack.imgur.com/kMGNh.jpg" alt="example"></p> <p><img src="https://i.stack.imgur.com/TXXtH.jpg" alt="enter image description here"> example2</p> <p>to say what i meant 'coverage', i will say in above figure: the projected blue line completely lay within the dark black line. but it is too short. But, large portion of the red line (projected line) lay within the black line though some part of the red line go out. green line is completely out of the black line. so, i can say red line give maximum coverage with black line..(does my idea correct?)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload