| Class | Bio::PDB::Coordinate |
| In: |
lib/bio/db/pdb/atom.rb
|
| Parent: | Vector |
Bio::PDB::Coordinate is a class to store a 3D coordinate. It inherits Vector (in bundled library in Ruby).
same as Vector.elements
# File lib/bio/db/pdb/atom.rb, line 37
37: def self.elements(array, *a)
38: raise 'Size of given array must be 3' if array.size != 3
39: super
40: end