Package wx :: Package lib :: Module plot :: Class PolyPoints
[frames | no frames]

Class PolyPoints

Known Subclasses:
PolyLine, PolyMarker

Base Class for lines and markers - All methods are private.
Method Summary
  __init__(self, points, attr)
  boundingBox(self)
  getClosestPoint(self, pntXY, pointScaled)
Returns the index of closest point on the curve, pointXY, scaledXY, distance x, y in user coords if pointScaled == True based on screen coords if pointScaled == False based on user coords
  getLegend(self)
  scaleAndShift(self, scale, shift)

Method Details

getClosestPoint(self, pntXY, pointScaled=True)

Returns the index of closest point on the curve, pointXY, scaledXY, distance x, y in user coords if pointScaled == True based on screen coords if pointScaled == False based on user coords

Generated by Epydoc 2.1.20040428.rpd on Tue Apr 26 14:24:54 2005 http://epydoc.sf.net