Extracting closed Polycurves from given Surface

@mellouze You could also consider this …