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

Class Polyline


defines set of segments through a list of coordinates
Method Summary
  __init__(self, list_of_coordinates, name)
  __getitem__(self, s)
  __iter__(self)
  __len__(self)
  __str__(self)
  getDiameter(self)
  givePositiveOrientation(self)
  insert(self, index, coordinate)
insert point before index
  isLoop(self)
  orientation(self)
returns the orientation of the polyline
  split(self, index)
splits the polyline at point index

Method Details

insert(self, index, coordinate)

insert point before index

orientation(self)

returns the orientation of the polyline

split(self, index)

splits the polyline at point index

Generated by Epydoc 2.1 on Thu Apr 27 11:16:26 2006 http://epydoc.sf.net