From: Miguel <mt...@mt...> - 2003-10-03 21:10:43
|
> 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 |