Scientific.Visualization.PyMOL.Line

Package Scientific :: Package Visualization :: Module PyMOL :: Class Line |
[frames] | no frames]

# Class Line

    PyMOLObject --+
                  |
        ShapeObject --+
                      |
                     Line

Line

Instance Methods
__init__(self, point1, point2, **attr) |
cgoObjects(self, material) |
Inherited from `ShapeObject`: `__add__`, `getPymolObjects`, `use` Inherited from `PyMOLObject`: `__copy__`, `__getitem__`, `__setitem__`, `writeToFile`

Class Variables
Inherited from `ShapeObject`: `attribute_names`

Method Details

### __init__(self, point1, point2, **attr) (Constructor) |
Parameters: `point1` (Scientific.Geometry.Vector) - first end point `point2` (Scientific.Geometry.Vector) - second end point `attr` - graphics attributes as keyword parameters Overrides: PyMOLObject.__init__