Hi Jmol users,
Is it is possible to translate atoms programmatically from within a Java
application? I have tried variations on the following but it does not
seem to work:
Point3f p = viewer.getAtomPoint3f(jmolindex);
p.set(newXYZf);
Tantalisingly, as the program executes I see the atoms move in Jmol and
then they snap back to their original positions. I have a working Jmol
script for this but because I want to translate a large number of atoms
different distances the script is proving too slow.
To put this strange request in context, I am trying to rotate selected
atoms around a point, hence the need to "translate" the atoms individually.
Thanks in advance for any help.
Cheers,
Chris.
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users