Bio::PDB::Coordinate is a class to store a 3D coordinate. It inherits Vector (in bundled library in Ruby).
same as Vector.
# File lib/bio/db/pdb/atom.rb, line 33 def self.[](x,y,z) super end
distance between object2.
# File lib/bio/db/pdb/atom.rb, line 70 def distance(object2) Utils::convert_to_xyz(object2) (self - object2).r end
Implicit conversion to an array.
Note that this method would be deprecated in the future.
# File lib/bio/db/pdb/atom.rb, line 64 def to_ary; self.to_a; end
Generated with the Darkfish Rdoc Generator 2.