Changeset 2128 for trunk/gui/scripts/unirect2d.tcl
- Timestamp:
- Mar 10, 2011 7:22:47 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/unirect2d.tcl
r1929 r2128 24 24 public method limits {axis} 25 25 public method blob {} 26 public method mesh.old {} 26 27 public method mesh {} 27 28 public method values {} … … 137 138 138 139 # ---------------------------------------------------------------------- 139 # method mesh 140 # Returns a base64 encoded, gzipped Tcl list that represents the 141 # Tcl command and data to recreate the uniform rectangular grid 142 # on the nanovis server. 143 # ---------------------------------------------------------------------- 144 itcl::body Rappture::Unirect2d::mesh {} {140 # method mesh.old 141 # Returns a base64 encoded, gzipped Tcl list that represents the 142 # Tcl command and data to recreate the uniform rectangular grid 143 # on the nanovis server. 144 # ---------------------------------------------------------------------- 145 itcl::body Rappture::Unirect2d::mesh.old {} { 145 146 set dx [expr {($_xMax - $_xMin) / double($_xNum)}] 146 147 set dy [expr {($_yMax - $_yMin) / double($_yNum)}] … … 153 154 } 154 155 return $data 156 } 157 158 # ---------------------------------------------------------------------- 159 # method mesh 160 # Returns a base64 encoded, gzipped Tcl list that represents the 161 # Tcl command and data to recreate the uniform rectangular grid 162 # on the nanovis server. 163 # ---------------------------------------------------------------------- 164 itcl::body Rappture::Unirect2d::mesh {} { 165 lappend out $_xMin $_xMax $_xNum $_yMin $_yMax $_yNum 166 return $out 155 167 } 156 168
Note: See TracChangeset
for help on using the changeset viewer.