sweep.cpp revision 29684a16b6c92bee28a94fdc2607bcc143950fa8
#include "sweep.h"
#include <algorithm>
namespace Geom {
}
//if(iter != open.end())
} else {
}
}
}
}
return pairs;
}
for(unsigned n = 0; n < 2; n++) {
for(unsigned i = 0; i < sz; i++) {
}
}
//std::cout << n << "[" << ix << "] - " << (closing ? "closer" : "opener") << "\n";
if(closing) {
} else {
if(n) {
//n = 1
//opening a B, add to all open a
}
}
} else {
//n = 0
//opening an A, add all open b
}
}
}
}
i[n]++;
}
return pairs;
}
//Fake cull, until the switch to the real sweep is made.
for(unsigned j = 0; j < b; j++)
for(unsigned i = 0; i < a; i++)
return ret;
}
}