vmd.graphics.triangle¶
-
vmd.graphics.
triangle
()¶ Draws a triangle
Parameters: - molid (int) – Molecule ID to draw on
- v1 (3-tuple of float) – (x,y,z) coordinates of first vertex
- v2 (3-tuple of float) – (x,y,z) coordinates of second vertex
- v3 (3-tuple of float) – (x,y,z) coordinates of third vertex
Returns: (int) – ID of drawn triangle