From: Nicolas <ni...@us...> - 2005-01-11 21:07:53
|
Update of /cvsroot/jmol/Jmol/src/org/jmol/bspt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv375/src/org/jmol/bspt Modified Files: SphereIterator.java Log Message: Fixed warnings Index: SphereIterator.java =================================================================== RCS file: /cvsroot/jmol/Jmol/src/org/jmol/bspt/SphereIterator.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SphereIterator.java 11 Jan 2005 02:39:07 -0000 1.3 +++ SphereIterator.java 11 Jan 2005 21:07:43 -0000 1.4 @@ -62,6 +62,8 @@ /** * initialize to return all points within the sphere defined * by <code>center</code> and <code>radius</code>. + * @param center + * @param radius */ public void initialize(Tuple center, float radius) { this.center = center; @@ -100,6 +102,8 @@ * Note that if you are iterating through all points, and two * points are within <code>radius</code> and have the same * x coordinate, then each will return the other + * @param center + * @param radius */ public void initializeHemisphere(Tuple center, float radius) { initialize(center, radius); @@ -136,6 +140,7 @@ /** * normal iterator predicate + * @return boolean */ public boolean hasMoreElements() { while (true) { @@ -177,6 +182,7 @@ /** * normal iterator method + * @return Tuple */ public Tuple nextElement() { return leaf.tuples[leafIndex++]; @@ -186,6 +192,7 @@ * After calling nextElement(), allows one to find out * the value of the distance squared. To get the distance * just take the sqrt. + * @return float */ public float foundDistance2() { return foundDistance2; |