public static final double angle ( Atom a , Atom b ) { Vector3d va = new Vector3d ( a . getCoordsAsPoint3d ( ) ) ; Vector3d vb = new Vector3d ( b . getCoordsAsPoint3d ( ) ) ; return Math . toDegrees ( va . angle ( vb ) ) ; }
Gets the angle between two vectors