File tree Expand file tree Collapse file tree
biojava-structure/src/main/java/org/biojava/nbio/structure Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -764,11 +764,7 @@ public static final void shift(Group group, Atom a) {
764764 }
765765
766766 /**
767- <<<<<<< HEAD
768767 * Returns the centroid of the set of atoms.
769- =======
770- * Returns the center of mass of the set of atoms.
771- >>>>>>> refs/heads/quaternion
772768 *
773769 * @param atomSet
774770 * a set of Atoms
@@ -799,6 +795,14 @@ public static final Atom getCentroid(Atom[] atomSet) {
799795
800796 }
801797
798+ /**
799+ * Returns the center of mass of the set of atoms. Atomic masses of the
800+ * Atoms are used.
801+ *
802+ * @param atomSet
803+ * a set of Atoms
804+ * @return an Atom representing the center of mass
805+ */
802806 public static Atom centerOfMass (Atom [] points ) {
803807 Atom center = new AtomImpl ();
804808
You can’t perform that action at this time.
0 commit comments