public static Atom getTranslationVector ( Matrix4d transform ) { Atom transl = new AtomImpl ( ) ; double [ ] coords = { transform . m03 , transform . m13 , transform . m23 } ; transl . setCoords ( coords ) ; return transl ; }
Extract the translational vector as an Atom of a transformation matrix .