I have an array of "lines" each defined by 2 points. I am working with only the line segments lying between those points. I need to search lines that could continue one another (relative to some angle) and lie on the same line (with some offset)
I mean I had something like 3 lines
I solved some mathematical problem (formulation of which is my question) and got understanding that there are lines that could be called relatively one line (with some angle K and offset J)
And of course by math formulation I meant some kind of math formula like
so I know the algorithm I used such simple approach like one presented by Victor Liu https://stackoverflow.com/questions/3769885/how-to-formulate-such-problem-mathematicaly-line-continuation-search/3770275#3770275 but its Pusedo solution code and what I need is problem formulation.
My problem is its formalisation into math using some Matrix and other math words (to write into some paper=)
guys - I am a programmer - sorry=)