Bug - Examples - Properties of generic Polygons

Bug - Examples - Properties of generic Polygons - Messages

#1 Posted: 5/2/2019 6:01:18 PM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Hi Davide, hoping to get some help on you very old example. I have successfully used it to generate the vast multitude of shapes, the functions of which you kindly shared with us. As of late many of the shapes return an error, the source of which is not obvious. function "roundedRect(2,4,1,0)" is a good example since its simple and yet does not return expected value.

Let me know if you have any thoughts on this.

Best

Alex M

File not found.File not found.
#2 Posted: 5/4/2019 7:09:25 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Thank you Alex... at first glance seems a problem about if statements not evaluated and stack.
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Posted: 5/7/2019 7:12:15 PM
Andrey Ivashov

Andrey Ivashov

2269 likes in 3734 posts.

Group: Super Administrator

Fixed in the latest beta. Thank you!
2 users liked this post
Davide Carpi 5/8/2019 3:53:00 PM, Alexander O. Melnik 7/1/2019 12:30:00 AM
#4 Posted: 5/8/2019 11:48:33 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Hi Davide, hoping to get some help on you very old example.
I have successfully used it to generate the vast multitude of shapes, the functions of which you kindly shared with us. As of late many of the shapes return an error, the source of which is not obvious. function "roundedRect(2,4,1,0)" is a good example since its simple and yet does not return expected value.


Hello Alex, just for my own curiosity:
Does it work as well for open polygon ?
Jean

Maths Polygon Alex test.sm (14 KiB) downloaded 49 time(s).

#5 Posted: 7/1/2019 12:29:39 AM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Wrote

Fixed in the latest beta. Thank you!



Thank you very much - I used this code in some crucial "programs"
#6 Posted: 7/1/2019 12:31:02 AM
Alexander O. Melnik

Alexander O. Melnik

127 likes in 494 posts.

Group: Moderator

Wrote

Wrote

Hi Davide, hoping to get some help on you very old example.
I have successfully used it to generate the vast multitude of shapes, the functions of which you kindly shared with us. As of late many of the shapes return an error, the source of which is not obvious. function "roundedRect(2,4,1,0)" is a good example since its simple and yet does not return expected value.


Hello Alex, just for my own curiosity:
Does it work as well for open polygon ?
Jean

Maths Polygon Alex test.sm (14 KiB) downloaded 49 time(s).



Unsure what you mean, Jean?
#7 Posted: 7/1/2019 5:29:57 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

Wrote

Does it work as well for open polygon ?



Nope, this worksheet was made just for closed polygons.

2019-07-01 10_27_47-SMath Studio - [PolyProperties.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
NDTM Amarasekera 7/1/2019 5:57:00 AM
  • New Posts New Posts
  • No New Posts No New Posts