internal static void Remove(
     MXCIFQuadTree quadTree,
     double x,
     double y,
     double width,
     double height,
     string value)
 {
     // Comment-me-in: System.out.println("remove(tree, " + x + ", " + y + ", " + width + ", " + height + ", \"" + value + "\");");
     MXCIFQuadTreeRowIndexRemove.Remove(x, y, width, height, value, quadTree);
 }
        public void TestAddRemoveSimple()
        {
            tree = MXCIFQuadTreeFactory.Make(0, 0, 50, 60);
            AssertFound(tree, 0, 0, 10, 10, "");

            AddNonUnique(tree, 5, 8, 1, 1, "R1");
            AssertFound(tree, 0, 0, 10, 10, "R1");
            AssertFound(tree, 0, 0, 5, 5, "");

            MXCIFQuadTreeRowIndexRemove.Remove(5, 8, 1, 1, "R1", tree);
            AssertFound(tree, 0, 0, 10, 10, "");
        }
        public void TestAddRemoveSamePoint()
        {
            tree = MXCIFQuadTreeFactory.Make(0, 0, 100, 100);

            AddNonUnique(tree, 5, 8, 1, 1, "R1");
            AddNonUnique(tree, 5, 8, 1, 1, "R2");
            AssertFound(tree, 0, 0, 10, 10, "R1,R2");

            MXCIFQuadTreeRowIndexRemove.Remove(5, 8, 1, 1, "R1", tree);
            AssertFound(tree, 0, 0, 10, 10, "R2");

            MXCIFQuadTreeRowIndexRemove.Remove(5, 8, 1, 1, "R2", tree);
            AssertFound(tree, 0, 0, 10, 10, "");
        }