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

Class Line



GraphicsObject --+        
                 |        
       ShapeObject --+    
                     |    
             PolyLines --+
                         |
                        Line

Line

Instance Methods [hide private]
  __init__(self, point1, point2, **attr)

Inherited from PolyLines: show

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, point1, point2, **attr)
(Constructor)

 
Parameters:
Overrides: PolyLines.__init__