Exemplo n.º 1
0
        static 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);

            SellBox(new Box(7865, 351), 2);
            RunAll();
        }
Exemplo n.º 2
0
 public Height(double theHeight)
 {
     BaseAreaTree = new Bst <BaseArea>();
     HeightNumber = theHeight;
 }