A regular polygon is a polygon which is both equilateral ( which means all its sides have the same length ) and equiangular ( which means that all its angles are the same ) . A regular polygon is a polygon which is equiangular ( all angles are equal in measure ) and equilateral ( all sides have the same length ) .