00001 #include "gel_set.H" 00002 #include "ray.H" // for GEL_list<T>::intersect 00003 00004 using namespace mlib; 00005 00006 BBOX 00007 GELset::bbox(int i) const{ 00008 BBOX cur_bbox; 00009 unsigned int nb_gel = _gel_list.num(); 00010 for (unsigned int i=0 ; i<nb_gel ; i++){ 00011 cur_bbox += _gel_list[i]->bbox(); 00012 00013 } 00014 return cur_bbox; 00015 }