add method rotatePoly, change signature for rotateFromUp
converting from polygons to lines