Pants decomposition (source code)

= Pants decomposition
{title2=$\{\gamma_i\}_{i=1}^{3g-3}$}

A collection of disjoint essential <simple closed curves> that cuts a closed <genus>-$g$ surface into $2g-2$ surfaces of type <pair of pants (mathematics)>. There are $3g-3$ curves. <Geodesic> representatives are used for <Fenchel–Nielsen coordinates>.