Bob,
I have some questions about src/org/jmol/adapter/smarter/Symmetry.java ...
You are allocating some objects of type Point4f. As far as I can tell, the
4th parameter is set to 1 and is never used ... so, it seems to me that
Point3f would be sufficient. Point4f objects are not used anywhere else in
Jmol.
Q: Is there any reason why you used Point4f objects in Symmetry.java?
Regarding the method isUnityOperation ...
It is not called from anyplace. There is a comment that says:
// unused -- it's best to leave x,y,z in there.
I have doubts as to whether or not this routine would even work as
intended, given the general problems of doing equality comparisons with
floating point numbers. That is, in the general case I believe that there
will be situations in which
temp.equals(temp2)
will return 'false' when the actual (symbolic) answer is 'true'.
Q: Can we remove this routine?
The method setMatrixFromXYZ is parsing a string.
Q: Is there a URL reference that we can introduce that documents the
syntax for this string?
Miguel
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers