combined triangle and line mesh insert methods