コード例 #1
0
 public static object Get(
     double x,
     double y,
     double width,
     double height,
     MXCIFQuadTree tree)
 {
     MXCIFQuadTreeFilterIndexCheckBB.CheckBB(tree.Root.Bb, x, y, width, height);
     return Get(x, y, width, height, tree.Root);
 }
コード例 #2
0
 public static void Delete(
     double x,
     double y,
     double width,
     double height,
     MXCIFQuadTree tree)
 {
     var root = tree.Root;
     MXCIFQuadTreeFilterIndexCheckBB.CheckBB(root.Bb, x, y, width, height);
     tree.Root = DeleteFromNode(x, y, width, height, root, tree);
 }
コード例 #3
0
 public static void Set(
     double x,
     double y,
     double width,
     double height,
     object value,
     MXCIFQuadTree tree)
 {
     MXCIFQuadTreeNode root = tree.Root;
     MXCIFQuadTreeFilterIndexCheckBB.CheckBB(root.Bb, x, y, width, height);
     tree.Root = SetOnNode(x, y, width, height, value, root, tree);
 }