Skip to content

Commit

Permalink
Merge pull request #212 from rajarshi/master
Browse files Browse the repository at this point in the history
Updated misleading Javadoc
  • Loading branch information
johnmay committed Aug 3, 2016
2 parents 868adff + 8e6d99f commit 5332a43
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -527,12 +527,11 @@ public static void translate2DCenterTo(IAtomContainer container, Point2d p) {
}

/**
* Calculates the center of mass for the <code>Atom</code>s in the AtomContainer for the 2D
* coordinates. See comment for center(IAtomContainer atomCon, Dimension areaDim, HashMap
* renderingCoordinates) for details on coordinate sets
* Calculates the center of mass for the <code>Atom</code>s in the AtomContainer.
*
* @param ac AtomContainer for which the center of mass is calculated
* @return Description of the Return Value
* @return The center of mass of the molecule, or <code>NULL</code> if the molecule
* does not have 3D coordinates or if any of the atoms do not have a valid atomic mass
* @cdk.keyword center of mass
* @cdk.dictref blue-obelisk:calculate3DCenterOfMass
*/
Expand Down

0 comments on commit 5332a43

Please sign in to comment.