예제 #1
0
        public BoxM()
        {
            tst = new Bst <Height>();
            Box testBox = new Box(530.4, 351);

            AddBox(testBox, 5);
            AddBox(new Box(45, 351), 6);
            AddBox(new Box(452, 351), 1);
            AddBox(new Box(7525, 351), 5);
            AddBox(new Box(7865, 351), 9);
            AddBox(new Box(7865, 5424), 7);
            AddBox(new Box(7865, 12), 3);
            AddBox(new Box(7865, 7546), 56);
            AddBox(new Box(7865, 4567), 5);

            AddBox(new Box(7865, 4567), -8);

            BuyBox(new Box(7865, 351), 2);
        }
예제 #2
0
 public Height(double thrHeight)
 {
     BaseAreaTree = new Bst <BaseArea>();
     HeightNumber = thrHeight;
 }