Package schrodinger :: Module structure :: Class _RingEdgeIterator
[hide private]
[frames] | no frames]

Class _RingEdgeIterator

Iterates over edges(bonds) of a _Ring.

Instance Methods [hide private]
 
__init__(self, ring)
ring argument is an instance of _Ring class.
 
__len__(self)
 
__iter__(self)
 
__getitem__(self, idx)
Return i'th edge.
Method Details [hide private]

__getitem__(self, idx)
(Indexing operator)

 

Return i'th edge. Index starts at 1