Skip to main content
Werner_E
Werner_EAnswer
25-Diamond I

To close this thread (for me), here is a function to implement #4 in my list above. #1 - #3 will be up to you ore somebody else 😉

 

11 replies

Werner_E
25-Diamond I

The attached should do the job. Works for exactly six points only and the order the points are given is important. So its very specialized and thats the reason I did not made any attempts to make the program ORIGIN independent.

 

Translate
lvl10720-TurquoiseAuthor
20-Turquoise

Hi, Everyone again.

From the following:

Email1.PNG

Email2.PNG

And if we get the input with random order of the points, and how to sort them for the program function always is true. And my belief is going to have a program function apply for any polygon, any order of the points and sorting say: Pentagon, Seven-Edge . . .

Best Regards

Loi.

Translate
Werner_E
25-Diamond I

And my belief is going to have a program function apply for any polygon, any order of the points and sorting say: Pentagon,

If you change the order, you get a different polygon!

Werner_E_0-1661872457031.png

 

Translate
lvl10720-TurquoiseAuthor
20-Turquoise

Yeah ! you're right. A pentagon must be convex, and sorting that five points in accordance with certain rule, and Fill Surface !

Best Regards.

Loi. 

Translate