franciscoadasme / chem.cr

Library for dealing with computational chemistry files
https://franciscoadasme.github.io/chem.cr/
MIT License
23 stars 1 forks source link

Add rotation and other transformation methods to CoordinatesProxy #184

Closed franciscoadasme closed 1 year ago

franciscoadasme commented 2 years ago

Currently, there is no direct way to rotate the coordinates but rather have to construct an AffineTransform instance and call the CoordinatesProxy#transform! method. Adding #rotate(x, y, z), #rotate(axis, angle), etc. would be very convenient.