Hello:
Occasional user here, not a coder, I'm hoping someone can help me out.
I would like to find the the maximum "x" value and "y" value in a array of points. I have been hunting around but haven't been able to find any applicable examples.
For example if I have a simple vector like:
triangle = [[0,0], [1,0], [0.5,1]] (my vector isn't this simple, its function generated with many points)
I would like to be able to determine max_x_y = [1,1]. Using "max(triangle)" [1,0] is returned (so I can extract the max "x" value), is there a way to get the max "y" value or should I just index through each "y" and store the max value?
Any insight would be greatly appreciated.
Thank you,
AJS
Sent from the
OpenSCAD mailing list archive at Nabble.com.
_______________________________________________
OpenSCAD mailing list
To unsubscribe send an email to
[hidden email]