> Hi,
>   I posted a message on the jmol-user list and after doing that I found
> some mails on the devel list related to this topic. As a result I'm
> trying to transfer the HIN code from CDK to Jmol and I had a few
> questions
>
> 1) Is there some form of a HTML API documentation for Jmol?

I don't think that the javadoc is part of the normal build process.

Egon probably knows how to generate it.

But, be advised that there aren't a lot of comments in the code.

> 2) Since a HIN file explicity describes connectivity how can I represent
> this in a Model class? Basically I'm working of the XyzReader source.

You are starting in the right place.

> I can see that for each atom in the molecule I make a new Atom() and add
> its x,y,z coordinates. Obviously XYZ format does not contain
> connectivity but is it possible to somehow specify connetivity in a
> model?

I suggest that you first get your reader working without the connectivity
information.

Then, take a look at the MolReader. It is also a very simple format ...
like XYZ, but it also includes connectivity information.

Once your reader is in place then adding your connectivity will be
straightforward.

Feel free to send me whatever code you have (offlist). I will take a look
at it and check it into CVS. Even if it is not functional, it will give
you a framework to work in.


Miguel




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to