You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that the behavior should be properly documented.
There's an argument for changing it, but that would remove functionality and potentially break a lot of existing code.
The method
Transform3D#SetRotation(double, Point3D)
scales the co-ordinates if the axis vectorPoint3D
is not a unit vector:rdkit/Code/Geometry/Transform3D.h
Lines 64 to 69 in 7e575db
Either the documentation should state this requirement, or the method implement it.
This can be demonstrated in the Java wrapper as follows:
Gives:
The result can be correct in the calling code, but this is not obviously required from the documentation, e.g.:
The text was updated successfully, but these errors were encountered: