Get Extent: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
'''get_extent''' returns the minimum and maximum XYZ coordinates of a selection as an array:
  "get_extent" returns the minimum and maximum XYZ coordinates of a
[ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]
  selection as an array:
 
    [ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]
===PYMOL API===
===PYMOL API===
<source lang="python">
<source lang="python">
  cmd.get_extent(string selection="(all)", state=0 )  
cmd.get_extent(string selection="(all)", state=0 )
</source>
</source>


[[Category:Commands|get_extent]]
[[Category:Commands|get_extent]]

Revision as of 14:43, 8 July 2005

DESCRIPTION

get_extent returns the minimum and maximum XYZ coordinates of a selection as an array:

[ [ min-X , min-Y , min-Z ],[ max-X, max-Y , max-Z ]]

PYMOL API

cmd.get_extent(string selection="(all)", state=0 )