예제 #1
0
파일: Lab1.cs 프로젝트: Allekseev/lab0cs
 public void Create(Top a1, Top a2)   //нахождение вершин maxTop и угла minTop
 {
     maxTop = new Top(Math.Max(a1.selfX, a2.selfX), Math.Max(a1.selfY, a2.selfY), Math.Max(a1.selfZ, a2.selfZ));
     minTop = new Top(Math.Min(a1.selfX, a2.selfX), Math.Min(a1.selfY, a2.selfY), Math.Min(a1.selfZ, a2.selfZ));
 }