torus¶
- marxs.visualization.threejs.torus(obj, display, outfile)[source]¶
Output commands to display (part of) a torus.
The plot range for theta and phi is taken from the values for
coo1andcoo2in thedisplaydictionary. 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.Parameters¶
- obj
marxs.base.MarxsElement The element that should be plotted.
- displaydict of None
Dictionary with display settings.
- outfilefile handle
Output is written to this file.
- obj