Scientific.Visualization.VPython.Arrow

Package Scientific :: Package Visualization :: Module VPython :: Class Arrow |
[frames] | no frames]

# Class Arrow

    GraphicsObject --+
                     |
           ShapeObject --+
                         |
                        Arrow

Arrow

Instance Methods
__init__(self, point1, point2, radius, **attr) |
show(self, window) |
Inherited from `ShapeObject`: `__add__`, `display` Inherited from `GraphicsObject`: `__copy__`, `__getitem__`, `__setitem__`

Class Variables
Inherited from `ShapeObject`: `attribute_names`

Method Details

### __init__(self, point1, point2, radius, **attr) (Constructor) |
Parameters: `point1` (Scientific.Geometry.Vector) - starting point of the arrow `point2` (Scientific.Geometry.Vector) - the tip of the arrow `radius` (positive number) - the radius of the shaft `attr` - graphics attributes as keyword parameters Overrides: GraphicsObject.__init__