Patches item #1766626, was opened at 2007-08-03 03:43
Message generated for change (Comment added) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1766626&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: pim (pimpimpim)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow length scaling of axes in unitcell mode

Initial Comment:
The setScale function implies that the axes protrude in 6 directions, and 
scales on all 6 end points. This works for molecular and window axes but not 
for the unitcell axes, therefore initShape returns in the unitcell case before 
setScale is called. 

Putting unitcell scaling in setScale would require the conversion of lattice 
vertices to points, etc., and add unnecessary complication. Instead, a few 
lines are added to the unitcell part of initShape to do the scaling on the 
three   crystal axes.

+      for (int i = 3; --i >= 0;) {
+        axisPoints[i].x *= viewer.getAxesScale()/2.0;
+        axisPoints[i].y *= viewer.getAxesScale()/2.0;
+        axisPoints[i].z *= viewer.getAxesScale()/2.0;
+      }


----------------------------------------------------------------------

>Comment By: Bob Hanson (hansonr)
Date: 2008-08-14 14:04

Message:
Logged In: YES 
user_id=1082841
Originator: NO

implemented

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379135&aid=1766626&group_id=23629

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to