11.07.2015 Views

VMD User's Guide

VMD User's Guide

VMD User's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

the variable remains, and the amount of rotation, in radians, is returned. This is used by thosefunctions which need a rotation. The valid values are: a number, followed by one of rad, radian,or radians for a value in radians, the word pi to give the rotation in factors of pi, or one of deg,degree, ordegrees for a value in degrees. If no units are given, the value is assumed to be indegrees.Examples:vmd > set a "180 deg north"180 deg northvmd > find_rotation_value a3.14159vmd > set anorthvmd > set a "1 pi to eat"1 pi to eatvmd > find_rotation_value a3.14159vmd > set ato eatvmd > set a 4545vmd > find_rotation_value a0.785398vmd > expr $M_PI * 3.0 / 2.04.71239vmd > set a "4.71238 radians"4.71238 radiansvmd > find_rotation_value a4.71238154

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!