vertices of a lattice polygon with n sides

48 Views Asked by At

is there a pattern that can be followed to draw a polygon which should be symmetrical both horizontally and vertically and the co-ordinates of vertices should be integers. considering that the vertices are on lattice points, the internal angles should be either 45 or 90 or 135. so based on this how to find a algorithm to find vertices if number of sides is given.