Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed missing imports and wrapped to 80 chars
  • Loading branch information
egonw committed Jun 9, 2009
1 parent bc5837d commit fd2d2df
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
Expand Up @@ -20,20 +20,22 @@
*/
package org.openscience.cdk.modeling.builder3d;

import java.util.Iterator;
import java.util.List;
import java.util.Map;

import javax.vecmath.Point2d;
import javax.vecmath.Point3d;
import javax.vecmath.Vector3d;

import org.openscience.cdk.AtomContainer;
import org.openscience.cdk.CDKConstants;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.geometry.GeometryTools;
import org.openscience.cdk.interfaces.IAtom;
import org.openscience.cdk.interfaces.IAtomContainer;
import org.openscience.cdk.interfaces.IBond;

import javax.vecmath.Point2d;
import javax.vecmath.Point3d;
import javax.vecmath.Vector3d;
import java.util.Iterator;
import java.util.List;
import java.util.Map;


/**
* Place aliphatic chains with Z matrix method.
Expand Down
Expand Up @@ -34,6 +34,7 @@

import org.openscience.cdk.CDKConstants;
import org.openscience.cdk.exception.CDKException;
import org.openscience.cdk.exception.NoSuchAtomTypeException;
import org.openscience.cdk.geometry.GeometryTools;
import org.openscience.cdk.graph.ConnectivityChecker;
import org.openscience.cdk.interfaces.IAtom;
Expand Down Expand Up @@ -150,7 +151,9 @@ private void setForceField(String ffname) throws CDKException {
/**
* Generate 3D coordinates with force field information.
*/
public IMolecule generate3DCoordinates(IMolecule molecule, boolean clone) throws CDKException, NoSuchAtomTypeException, CloneNotSupportedException, IOException{
public IMolecule generate3DCoordinates(IMolecule molecule, boolean clone)
throws CDKException, NoSuchAtomTypeException,
CloneNotSupportedException, IOException{
String[] originalAtomTypeNames = new String[molecule.getAtomCount()];
for (int i=0; i<originalAtomTypeNames.length; i++) {
originalAtomTypeNames[i] = molecule.getAtom(i).getAtomTypeName();
Expand Down

0 comments on commit fd2d2df

Please sign in to comment.