Wednesday, 29 February 2012

2D Polygon

This basically has big portions of similarity with what Points & Lines tutorial has. One of the differences between them is that it has Polyline instead of just Line component that only connects a point to point. So What PLine does is it connects a point to point as many as you want and form a polygon.
Funny thing about this was that I had to be careful with the order because if you do not follow the order it will connect to the other point. And lastly, connecting point1(the very first one you connect to V end) to the C end will close and complete a polygon.

Multiple Numbers







Basically, setting multiple numbers on x value creates multiple numbers of points on X axis you put in and longest list shows all the numbers.
I made it look like all the lines are connected and continuosly going on.
It is important to look carefully where you want to connect points from and points to.


Points & Lines