Get Distance

From PyMOLWiki
Revision as of 22:05, 21 February 2005 by Tree (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

DESCRIPTION

   "get_distance" returns the distance between two atoms.  By default, the
  coordinates used are from the current state, however an alternate
  state identifier can be provided.

USAGE

   get_distance atom1, atom2, [,state ]

EXAMPLES

   get_distance 4/n,4/c
  get_distance 4/n,4/c,state=4
  

PYMOL API

 
   cmd.get_distance(atom1="pk1",atom2="pk2",state=0)