c++ Programming Glossary: searchrect
find overlapping rectangles algorithm http://stackoverflow.com/questions/7727758/find-overlapping-rectangles-algorithm the KD Tree as follows function FindRects KDNode node Rect searchRect List Rect intersectionRects searchRect is the rectangle you.. KDNode node Rect searchRect List Rect intersectionRects searchRect is the rectangle you want to test intersections with node is.. for each Rect nRect in node.Rects if nRect.Intersects searchRect intersectionRects.Add nRect else If the searchRect's boundary..
|