lib/PDB.rb
#
# geometric methods for translating and rotating
#
geometric methods for translating and rotating
geometric methods for translating and rotating
def translate(delx, dely, delz)
      @active_set.each do |atom|
        atom.xpos = atom.xpos + delx
        atom.ypos = atom.ypos + dely
        atom.zpos = atom.zpos + delz
      end
    end
def translate ( delx , dely , delz ) @active_set . each do | atom | atom . xpos = atom . xpos + delx atom . ypos = atom . ypos + dely atom . zpos = atom . zpos + delz end end
geometric methods for translating and rotating
geometric methods for translating and rotating
delx
<not_specific>
dely
<not_specific>
delz
<not_specific>