Z-oriented triangulations of surfaces