From: Dmitry M. <dma...@ma...> - 2005-01-19 16:45:03
|
Hi is there the public api to find the nearest atom from mouse click? what I found that package's method in the class org.jmol.viewer.Viewer int findNearestAtomIndex(int x, int y) but JmolViewer abstract class doesn't have any appropriate method (at least I didn't find it) I can use reflection of course but I'd prefer to have something better also I didn't find public methods to clear everything I understand that not public method clear is called every time when I load new molecule if I understand right there is only 1 "portal" to all public properties JMolViewer is it correct? (I don't want to use script) for example I'd like to have iterator for the atoms: I didn't find any public method to obtain instance of the Frame to walk through the atoms thanks PS. of course I can modify code but I'd prefer something better Dmitry Markman |