Take the convex hull. If it is a quadrilateral, you are done. If it is a triangle, you can break any of its edges apart to include the inner point.
how to connect 4 random points with 4 no intersecting line segments? [closed]
-
03-06-2022 - |
Pergunta
The points are in a plane,marked with two numbers indicating coordinates.give out a connect sequence.
Solução
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow