发明名称 |
Multi-dimensional tree structure for the spatial sorting of geometric objects. |
摘要 |
A computer program controlled method of processing geometric objects constructs a binary tree data structure 10 associated with bounding boxes of geometric objects. For each bound of a bounding box there is found a median (X) of all corresponding bounds, such as left sides associated with the bounding boxes. Next, all of the bounding boxes having a minimum bounding value less than X are placed on a left sub-tree 12 of the tree. All of the bounding boxes having a minimum bounding value greater than X are placed on a right sub-tree 14 of the tree. At the root are placed values that represent the maximum of that dimension's values in the left sub-tree and the minimum of that dimension's values in the right sub-tree. Boxes assigned to the left sub-tree and to the right sub-tree are similarly processed using a next bound such as the right sides. Searching the binary tree data structure in response to a query interval or box determines all of the boxes overlapping the Q box by comparing a lesser Q box bound with the left sub-tree's maximum value and by comparing a larger Q box bound with the right sub-tree's minimum value. The comparison generates information specifying if further search is carried out on the left sub-tree, the right sub-tree or on both sub-trees. Steps of the method are accomplished a plurality of times with successive bounds and recycling as required until the leaves of the tree are reached. |
申请公布号 |
EP0436790(A2) |
申请公布日期 |
1991.07.17 |
申请号 |
EP19900120776 |
申请日期 |
1990.10.30 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
RAJAN, VADAKKEDATHU THOMAS;SILKOWSKI, RICHARD ANDREW |
分类号 |
G06T15/00;G06F17/50;G06T17/00 |
主分类号 |
G06T15/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|