It is making sense. Thanks for prompt reply.
Just for completeness , also OBAtom.GetVector() seems doesn't work :
<openbabel.vector3; proxy="" of="" <Swig="" Object="" of="" type="" 'OpenBabel::vector3="" *'="" at="" 0x114085480=""> >
On the other hand, is true that, the coordinates are accessible via OBAtom.GetX(),OBAtom.GetY(),OBAtom.GetZ().
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good point, GetX(), etc. is probably the best way. GetVector() is working, but if you look at the OB API, you need to call GetX(), etc. on that to actually get the values.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is correct, but as the coordinates are accessible via OBAtom.GetVector(), I don't plan to implement access to this.
It is making sense. Thanks for prompt reply.
Just for completeness , also OBAtom.GetVector() seems doesn't work :
<openbabel.vector3; proxy="" of="" <Swig="" Object="" of="" type="" 'OpenBabel::vector3="" *'="" at="" 0x114085480=""> >
On the other hand, is true that, the coordinates are accessible via OBAtom.GetX(),OBAtom.GetY(),OBAtom.GetZ().
Good point, GetX(), etc. is probably the best way. GetVector() is working, but if you look at the OB API, you need to call GetX(), etc. on that to actually get the values.