Quotient of a polygon

Let $P\subseteq \R^2$ be a planar polygon with all edges paired up. For simplicity assume paired sides have the same Euclidean length, and all sides are oriented.

For a pair of edges $\set{e, \hat e}$, there exists a unique isometry $f_{e\hat e}: e\to \hat e$ respecting the orientation. Define an equivalence relation $P$ by saying $x\sim f_{e\hat e}(x)$ whenever $x\in e$ an edge.

$P/{\sim}$ is a topological surface.