class tinylib.Polygon
Available on all platforms
A polygon
Sub classes:
Cube3D | A Cube |
Cylinder | A Cylinder |
Ribbon3D | Thin Ribbon |
Sphere3D | Sphere |
Square3D | Square |
Triangles | Set of Triangles |
Tube3D | Tube3D: 3-dimensional tube corresponding to Tube in VMD |
Instance Fields
var direction:Point3D
direction of the polygon; where the polygon stick toward.
(0,0,1) would be considered as the default.