torus¶
- marxs.visualization.threejsjson.torus(obj, display, theta0=0.0, thetaarc=6.283185307179586, phi0=0.0, phiarc=6.283185307179586)[source] [edit on github]¶
Describe a (possibly incomplete) torus.
The plot range for theta and phi is taken from the values for
coo1
andcoo2
in thedisplay
dictionary. There entries should be a list of value if less then the full torus (ranging from 0 to 2 pi in each coordinate) is desired for the plot.