Class: Chem::SkeletonAtom

Inherits:
Object
  • Object
show all
Includes:
Atom
Defined in:
lib/chem/model/skeleton.rb

Constant Summary

Constants included from Atom

Atom::MDLAtomLineFormat

Instance Attribute Summary collapse

Attributes included from Atom

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

Method Summary

Methods included from Atom

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

Methods included from Transform::TwoDimension

#pos

Dynamic Method Handling

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

Instance Attribute Details

#xObject

Returns the value of attribute x.



6
7
8
# File 'lib/chem/model/skeleton.rb', line 6

def x
  @x
end

#yObject

Returns the value of attribute y.



6
7
8
# File 'lib/chem/model/skeleton.rb', line 6

def y
  @y
end

#zObject

Returns the value of attribute z.



6
7
8
# File 'lib/chem/model/skeleton.rb', line 6

def z
  @z
end