Esempio n. 1
0
 public void Clear()
 {
     for (int i = 0; i < 3; i++)
     {
         DelaunayTriangle delaunayTriangle = this.Neighbors[i];
         bool             flag             = delaunayTriangle != null;
         if (flag)
         {
             delaunayTriangle.ClearNeighbor(this);
         }
     }
     this.ClearNeighbors();
     this.Points[0] = (this.Points[1] = (this.Points[2] = null));
 }