56 template <
class MeshT>
void
58 std::vector <typename MeshT::HalfEdgeIndices>& boundary_he_collection,
59 const std::size_t expected_size = 3)
63 using HalfEdgeIndices =
typename Mesh::HalfEdgeIndices;
64 using IHEAFC =
typename Mesh::InnerHalfEdgeAroundFaceCirculator;
66 boundary_he_collection.clear ();
68 HalfEdgeIndices boundary_he; boundary_he.reserve (expected_size);
69 std::vector <bool> visited (mesh.sizeEdges (),
false);
70 IHEAFC circ, circ_end;
78 circ = mesh.getInnerHalfEdgeAroundFaceCirculator (i);
83 boundary_he.push_back (circ.getTargetIndex ());
84 }
while (++circ != circ_end);
86 boundary_he_collection.push_back (boundary_he);