Use flip in Java API

User 8e82fe5e70

27-07-2011 11:49:07

Hi All,


I wonder if it is possible to use flip function in Java API. See http://www.chemaxon.com/marvinsketch-animations/structures/flip-horizontally-flip-vertically/


The CTransform3D doesn't have such feature. 


Thanks.

User 870ab5b546

03-08-2011 16:30:15

You can write a method that converts all atoms' x or y coordinates to -x or -y.

User 8e82fe5e70

03-08-2011 16:36:49










bobgr wrote:

You can write a method that converts all atoms' x or y coordinates to -x or -y.



well. Sterobonds will be wrong by doing this. 

User 870ab5b546

03-08-2011 16:47:14

Then convert each bold bond to hashed and vice versa.

ChemAxon 25dcd765a3

05-08-2011 07:13:49

Thank you for the support Bob!