The method `addBond` in the `IAtomContainer` interface of the Java package `org.openscience.cdk.interfaces` is used to add a new bond to the atom container. The bond between two atoms is specified by providing the atoms themselves along with the bond type. This method allows the creation of new bonds within the container, which is useful in molecular structure manipulation and modeling.
Java IAtomContainer.addBond - 30 examples found. These are the top rated real world Java examples of org.openscience.cdk.interfaces.IAtomContainer.addBond extracted from open source projects. You can rate examples to help us improve the quality of examples.