Package esys :: Package modellib :: Module tsunami :: Class Polyline
[hide private]
[frames] | no frames]

Class Polyline

Defines a set of segments through a list of coordinates

Instance Methods [hide private]
 
__getitem__(self, s)
 
__init__(self, list_of_coordinates=[], name='none')
 
__iter__(self)
 
__len__(self)
 
__str__(self)
 
getDiameter(self)
 
givePositiveOrientation(self)
 
insert(self, index, coordinate)
Inserts point before index
 
isLoop(self)
 
orientation(self)
Returns the orientation of the polyline
 
split(self, index)
Splits the polyline at point index