Package Scientific :: Package Visualization :: Module VPython :: Class PolyLines
[hide private]
[frames] | no frames]

Class PolyLines



GraphicsObject --+    
                 |    
       ShapeObject --+
                     |
                    PolyLines
Known Subclasses:
Line

Multiple connected lines

Instance Methods [hide private]
  __init__(self, points, **attr)
  show(self, window)

Inherited from ShapeObject: __add__, display

Inherited from GraphicsObject: __copy__, __getitem__, __setitem__


Class Variables [hide private]

Inherited from ShapeObject: attribute_names


Method Details [hide private]

__init__(self, points, **attr)
(Constructor)

 
Parameters:
  • points (sequence of Scientific.Geometry.Vector) - a sequence of points to be connected by lines
  • attr - graphics attributes as keyword parameters
Overrides: GraphicsObject.__init__

show(self, window)