add boundary edges to edge mesh (snap to boundary edges on flat surfaces)