Logo Search packages:      
Sourcecode: cdk version File versions  Download package

boolean org::openscience::cdk::layout::StructureDiagramGenerator::allPlaced ( IRingSet  rings ) [inline, private]

Initializes all rings in RingSet rs as not placed

rsThe RingSet to be initialized Are all rings in the Vector placed?
ringsThe Vector to be checked
true if all rings are placed, false otherwise

Definition at line 978 of file StructureDiagramGenerator.java.

References org::openscience::cdk::tools::LoggingTool::debug(), org::openscience::cdk::interfaces::IAtomContainerSet::getAtomContainer(), org::openscience::cdk::interfaces::IAtomContainerSet::getAtomContainerCount(), and org::openscience::cdk::CDKConstants::ISPLACED.

Referenced by layoutRingSet().

            for (int f = 0; f < rings.getAtomContainerCount(); f++)
                  if (!((IRing) rings.getAtomContainer(f)).getFlag(CDKConstants.ISPLACED))
                        logger.debug("allPlaced->Ring " + f + " not placed");
                        return false;
            return true;

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index