Beispiel #1
0
 public static TL Get(
     double x,
     double y,
     PointRegionQuadTree<object> tree)
 {
     PointRegionQuadTreeFilterIndexCheckBB.CheckBB(tree.Root.Bb, x, y);
     return Get(x, y, tree.Root);
 }
Beispiel #2
0
 public static void Set(
     double x,
     double y,
     TL value,
     PointRegionQuadTree<object> tree)
 {
     var root = tree.Root;
     PointRegionQuadTreeFilterIndexCheckBB.CheckBB(root.Bb, x, y);
     tree.Root = SetOnNode(x, y, value, root, tree);
 }
 public static void Delete(
     double x,
     double y,
     PointRegionQuadTree<object> tree)
 {
     var root = tree.Root;
     PointRegionQuadTreeFilterIndexCheckBB.CheckBB(root.Bb, x, y);
     var replacement = DeleteFromNode(x, y, root, tree);
     tree.Root = replacement;
 }