304 |
|
|
305 |
|
//find bend c--a--b |
306 |
|
AtomStamp::AtomIter ai; |
307 |
< |
for(int c= atomA->getFirstBonedAtom(ai);c != -1;c = atomA->getNextBonedAtom(ai)) |
307 |
> |
for(int c= atomA->getFirstBondedAtom(ai);c != -1;c = atomA->getNextBondedAtom(ai)) |
308 |
|
{ |
309 |
|
if(b == c) |
310 |
|
continue; |
323 |
|
} |
324 |
|
|
325 |
|
//find bend a--b--c |
326 |
< |
for(int c= atomB->getFirstBonedAtom(ai);c != -1;c = atomB->getNextBonedAtom(ai)) |
326 |
> |
for(int c= atomB->getFirstBondedAtom(ai);c != -1;c = atomB->getNextBondedAtom(ai)) |
327 |
|
{ |
328 |
|
if(a == c) |
329 |
|
continue; |
407 |
|
AtomStamp::AtomIter ai2; |
408 |
|
AtomStamp::AtomIter ai3; |
409 |
|
|
410 |
< |
for(int a = atomB->getFirstBonedAtom(ai2);a != -1;a = atomB->getNextBonedAtom(ai2)) |
410 |
> |
for(int a = atomB->getFirstBondedAtom(ai2);a != -1;a = atomB->getNextBondedAtom(ai2)) |
411 |
|
{ |
412 |
|
if(a == c) |
413 |
|
continue; |
414 |
|
|
415 |
< |
for(int d = atomC->getFirstBonedAtom(ai3);d != -1;d = atomC->getNextBonedAtom(ai3)) |
415 |
> |
for(int d = atomC->getFirstBondedAtom(ai3);d != -1;d = atomC->getNextBondedAtom(ai3)) |
416 |
|
{ |
417 |
|
if(d == b) |
418 |
|
continue; |