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

static IAtomContainer org::openscience::cdk::tools::manipulator::RingSetManipulator::getAllInOneContainer ( IRingSet  ringSet ) [inline, static]

Puts all rings of a ringSet in a single atomContainer

Parameters:
ringSetThe ringSet to use
Returns:
The produced atomContainer

Definition at line 67 of file RingSetManipulator.java.

References org::openscience::cdk::interfaces::IAtomContainer::add(), getAllAtomContainers(), org::openscience::cdk::interfaces::IChemObject::getBuilder(), and org::openscience::cdk::interfaces::IChemObjectBuilder::newAtomContainer().

Referenced by org::openscience::cdk::modeling::builder3d::ModelBuilder3D::generate3DCoordinates(), getLargestRingSet(), org::openscience::cdk::modeling::builder3d::ModelBuilder3D::layoutMolecule(), and org::openscience::cdk::modeling::builder3d::ModelBuilder3D::layoutRingSystem().

                                                                          {
            IAtomContainer resultContainer = ringSet.getBuilder().newAtomContainer();
            Iterator<IAtomContainer> containers = RingSetManipulator.getAllAtomContainers(ringSet).iterator();
            while (containers.hasNext()) {
                  resultContainer.add(containers.next());
            }
            return resultContainer;
      }

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