for (IRingSet rset : ringSystems) { if (rset.getFlag(CDKConstants.ISPLACED)) { ringPlacer.placeRingSubstituents(rset, bondLength); } else { List<IRing> placed = new ArrayList<>(); ringPlacer.placeRingSubstituents(rset, bondLength); ringPlacer.placeRingSubstituents(ringSystems.get(0), bondLength); } else {
for (IRingSet rset : ringSystems) { if (rset.getFlag(CDKConstants.ISPLACED)) { ringPlacer.placeRingSubstituents(rset, bondLength); } else { List<IRing> placed = new ArrayList<>(); ringPlacer.placeRingSubstituents(rset, bondLength); ringPlacer.placeRingSubstituents(ringSystems.get(0), bondLength); } else {
IAtomContainer placedRingSubstituents = ringPlacer.placeRingSubstituents(nextRingSystem, bondLength); ringSystem.add(placedRingSubstituents); AtomPlacer.markPlaced(placedAtoms); ringPlacer.completePartiallyPlacedRing(ringset, (IRing) ring, bondLength); if (allPlaced(ringset)) ringPlacer.placeRingSubstituents(ringset, bondLength);
IAtomContainer placedRingSubstituents = ringPlacer.placeRingSubstituents(nextRingSystem, bondLength); ringSystem.add(placedRingSubstituents); AtomPlacer.markPlaced(placedAtoms); ringPlacer.completePartiallyPlacedRing(ringset, (IRing) ring, bondLength); if (allPlaced(ringset)) ringPlacer.placeRingSubstituents(ringset, bondLength);