Esempio n. 1
0
EdgeStrip
Bface_list::get_boundary() const
{
   // Returns the boundary of this set of faces.
   // I.e., returns an edge strip describing chains of edges
   // that wind CCW around the faces in this list.

   // Mark internal faces with flag = 1,
   // neighboring faces outside the list with flag = 0:
   mark_faces();

   EdgeStrip ret;
   ret.build_ccw_boundaries(get_edges(), SimplexFlagFilter(1));
   return ret;
}