Class: Record::HETATM

Inherits:
Object
  • Object
show all
Includes:
Chem::Atom, Chem::Transform::ThreeDimension
Defined in:
lib/chem/db/pdb.rb

Constant Summary

Constants included from Chem::Atom

Chem::Atom::MDLAtomLineFormat

Instance Attribute Summary

Attributes included from Chem::Atom

#cdk_atom, #charge, #color, #element, #label, #mass, #ob_atom, #rings, #v_pos, #visible, #x, #y, #z

Instance Method Summary collapse

Methods included from Chem::Transform::ThreeDimension

#z, #z=

Methods included from Chem::Transform::TwoDimension

#x, #x=, #y, #y=

Methods included from Chem::Atom

#atomic_number, #electro_negativity, #method_missing, #natural_bond_order, #to_mdl, #to_sybyl, #weight

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Chem::Atom

Instance Method Details

#posObject



65
# File 'lib/chem/db/pdb.rb', line 65

def pos ; @pos ||= Vector[@x, @y, @z] ; end