Triwild: Robust triangulation with curve constraints