K
K
Kalombyr2020-06-27 20:08:26
Trigonometry
Kalombyr, 2020-06-27 20:08:26

Fastest way to connect 4 points with non-intersecting lines?

Hello.
I work with OpenCV, I need to quickly connect 4 points (in X and Y coordinates) with non-intersecting lines.
Can you please tell me what is the fastest way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2020-06-27
@rPman

what nonsense, all lines will intersect, at points.
no matter how you draw lines on 4 points, you will get 2 triangles with one common edge, so feel free to connect in the 'all points to all' cycle, without repetitions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question