Move triangleSplittingNecessary into function and hand it to emit.
Move triangleSplittingNecessary into function and hand it to emit.

Christof/voly-labeller,Christof/voly-labeller,Christof/voly-labeller,Christof/voly-labeller