Changeset 7953:f7c96aa4d21d
- Timestamp:
- 01/04/08 02:51:33 (5 years ago)
- Branch:
- default
- Parents:
- 7914:a644a3418d7b (diff), 7931:3acbc7485d58 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
sage/plot/plot3d/shapes.pyx (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sage/plot/plot3d/shapes.pyx
r7912 r7953 207 207 208 208 cdef double ratio = sqrt(rad*rad / ((base[0]-top[0])**2 + (base[1]-top[1])**2 + (base[2]-top[2])**2)) 209 #print ratio210 209 211 210 if ratio > .02: … … 429 428 def x3d_geometry(self): 430 429 return "<Text string='%s' solid='true'/>"%self.string 430 431 def jmol_repr(self, render_params): 432 cen = render_params.transform.transform_point((0,0,0)) 433 render_params.atom_list.append(cen) 434 atom_no = len(render_params.atom_list) 435 return ['select atomno = %s' % atom_no, 436 self.get_texture().jmol_str("atom"), 437 'label "%s"' % self.string] #.replace('\n', '|')] 438 439 def bounding_box(self): 440 return (0,0,0), (0,0,0) 441 431 442 432 443
Note: See TracChangeset
for help on using the changeset viewer.
