Exemplo n.º 1
0
        public Tetrahedron AddTetrahedron(Point p0, Point p1, Point p2, Point p3)
        {
            Tetrahedron t = new Tetrahedron(p0, p1, p2, p3);

            tetrahedrons.Add(t);
            return(t);
        }
Exemplo n.º 2
0
 public void DeleteTetrahedron(Tetrahedron t)
 {
     foreach (Point p in t.Points)
     {
         p.Tetrahedrons.Remove(t);
     }
     tetrahedrons.Remove(t);
 }