Lines Matching refs:regions
319 std::vector<Rect> regions( 1, region );
320 return level_sets( f, regions ).front();
327 std::vector<std::vector<Interval> > level_sets( D2<SBasis> const &f, std::vector<Rect> regions){
328 std::vector<Interval> regsX (regions.size(), Interval() );
329 std::vector<Interval> regsY (regions.size(), Interval() );
330 for ( unsigned i=0; i < regions.size(); i++ ){
331 regsX[i] = regions[i][X];
332 regsY[i] = regions[i][Y];
336 std::vector<std::vector<Interval> >result(regions.size(), std::vector<Interval>() );
337 for (unsigned i=0; i<regions.size(); i++){
343 std::vector<Rect> regions( pts.size(), Rect() );
345 regions[i] = Rect( pts[i], pts[i] );
346 regions[i].expandBy( tol );
348 return level_sets( f, regions );