> The only thing remaining is how the unit cell axis (i.e. the complete
> box) is  to be drawn... Miguel, such would ofcourse not be taken care of
> by the  AtomIterator (or BondIterator), but how *would* Jmol draw the
> crystal cell  axes?

The JmolModelAdapter interface specifies a method called
getCrystalCellIterator (along with getAtomIterator, getBondIterator, and
getVectorIterator). And the JmolCode is already calling it.

The first three vectors returned by getCrystalCellIterator are assumed to
specify the axes (with arrows) ... the rest return the lines of the box.

The code should work because it is currently being used with the old Jmol
code through the DeprecatedModelAdapter.

Miguel





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to