Lines Matching refs:scanline
108 static NodeSet* getLeftNeighbours(NodeSet &scanline,Node *v) {
110 NodeSet::iterator i=scanline.find(v);
111 while(i--!=scanline.begin()) {
123 static NodeSet* getRightNeighbours(NodeSet &scanline,Node *v) {
125 NodeSet::iterator i=scanline.find(v);
126 for(++i;i!=scanline.end(); ++i) {
184 NodeSet scanline;
190 scanline.insert(v);
193 getLeftNeighbours(scanline,v),
194 getRightNeighbours(scanline,v)
197 NodeSet::iterator it=scanline.find(v);
198 if(it--!=scanline.begin()) {
203 it=scanline.find(v);
204 if(++it!=scanline.end()) {
243 scanline.erase(v);
267 NodeSet scanline;
273 scanline.insert(v);
274 NodeSet::iterator i=scanline.find(v);
275 if(i--!=scanline.begin()) {
280 i=scanline.find(v);
281 if(++i!=scanline.end()) {
299 scanline.erase(v);