function swap(v,pos)
	{
		var tmp = v[pos+1];
		v[pos+1] = v[pos+2];
		v[pos+2] = -tmp;
	}
Returns a closed shape from a 2D closed line, it can be extruded!
@method Mesh.shape
@param {Object} options valid options: extrude, xy