public static bool FaceIsStillValid(Tiling g, List <Vertex> boundary)
 {
     Vertex[] b = boundary.ToArray();
     for (int index = 0; index < b.Length; index++)
     {
         if (index + 1 == b.Length)
         {
             if (g.IsAnEdge(b[index].Id, b[0].Id) == false)
             {
                 return(false);
             }
             continue;
         }
         if (g.IsAnEdge(b[index].Id, b[index + 1].Id) == false)
         {
             return(false);
         }
     }
     return(true);
 }