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 32 def self.[](x,y,z) super end
distance between object2.
# File lib/bio/db/pdb/atom.rb, line 69 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 63 def to_ary; self.to_a; end
Generated with the Darkfish Rdoc Generator 2.