static List < Vector2d > newUnitVectors ( final IAtom fromAtom , final List < IAtom > toAtoms ) { final List < Vector2d > unitVectors = new ArrayList < Vector2d > ( toAtoms . size ( ) ) ; for ( final IAtom toAtom : toAtoms ) { unitVectors . add ( newUnitVector ( fromAtom . getPoint2d ( ) , toAtom . getPoint2d ( ) ) ) ; } return unitVectors ; }
Create unit vectors from one atom to all other provided atoms .