| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Box query
Given a set of n-dimensional boxes
table boxes (
dimension# integer,
low integer,
high integer
)
find all the pairs that intersect. Example
the cubes A={(x,0,2),(y,0,2),(z,0,2)}
and B={(x,1,3),(y,1,3),(z,1,3)} intersect, while the box C={(x,10,12),(y,0,4),(z,0,100)}
intersect neither A nor B.
Bonus point: anything special about this kind of query? Received on Fri Apr 21 2006 - 19:29:20 CDT
![]() |
![]() |