sqrDistance(atom1, atom2) {
        let at1 = structure.atoms[atom1],
            at2 = structure.atoms[atom2],
            dx = at1.x - at2.x,
            dy = at1.y - at2.y,
            dz = at1.z - at2.z;
        return dx * dx + dy * dy + dz * dz;
    }
// In intensive calculations use this method for comparisons rather than `core.distance`
In intensive calculations use this method for comparisons rather than `core.distance`
In intensive calculations use this method for comparisons rather than ` core . distance `
sqrDistance(atom1, atom2) {
        let at1 = structure.atoms[atom1],
            at2 = structure.atoms[atom2],
            dx = at1.x - at2.x,
            dy = at1.y - at2.y,
            dz = at1.z - at2.z;
        return dx * dx + dy * dy + dz * dz;
    }
sqrDistance ( atom1 , atom2 ) { let at1 = structure . atoms [ atom1 ] , at2 = structure . atoms [ atom2 ] , dx = at1 . x - at2 . x , dy = at1 . y - at2 . y , dz = at1 . z - at2 . z ; return dx * dx + dy * dy + dz * dz ; }
In intensive calculations use this method for comparisons rather than `core.distance`
In intensive calculations use this method for comparisons rather than ` core . distance `