so documented. http://www.stolaf.edu/people/hansonr/jmol/docs/index.htm#centerAt

two questions:

Are the integers Rasmol units? (We generally are not mentioning these in the documentation, even if they are available.)

Is it really true that

> # offset relative to the average atom position
> # this was the default in Jmol 10.00
> centerAt average 1 1 1;

That is, 1 Angstrom off in all directions?



Miguel wrote:

On 17 Aug 2005 at 8:59, Miguel
announced Jmol prerelease 10.00.32


- default center of rotation is now the center of the bounding box
instead of the average point
- centerAt provides additional flexibility for defining the center of
rotation

This "centerAt" is not documented. Can anyone explain it?
I am interested since I have had trouble with positioning some models.


centerAt absolute|boundbox|average { <x> <y> <z> }

absolute specifies absolute angstroms coordinates
boundbox is relative to the center of the boundbox. The boundbox is
defined by the minimum and maximum atom center coordinates along each of
the cartesian axes.
average is relative to the average atom position. Also known as the
'unweighted center of gravity'

If coordinate values are not specified then they are assumed to be 0,0,0

# absolute cartesian coordinates 1.0, 2.0, 3.0
centerAt absolute 1.0 2.0 3.0;

# the following two are equivalent
centerAt absolute;
centerAt absolute 0 0 0;

# offset relative to the center of the boundbox
centerAt boundbox 10 20 -30

#the following are equivalent to the Chime + new default centering position
centerAt boundbox 0 0 0;
centerAt boundbox;
center;
center all;
center *;
select all; center selected;

# offset relative to the average atom position
# this was the default in Jmol 10.00
centerAt average 1 1 1;

# the following are equivalent
centerAt average 0 0 0;
centerAt average;


Miguel



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to