Public Member Functions | |
def | __init__ |
def | boundingBox |
def | scaleAndShift |
def | getLegend |
def | getClosestPoint |
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. | |
Public Attributes | |
points | |
currentScale | |
currentShift | |
scaled | |
attributes |
def python::plot::PolyPoints::__init__ | ( | self, | ||
points, | ||||
attr | ||||
) |
Reimplemented in python::plot::PolyLine, and python::plot::PolyMarker.
def python::plot::PolyPoints::boundingBox | ( | self | ) |
def python::plot::PolyPoints::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.
def python::plot::PolyPoints::getLegend | ( | self | ) |
def python::plot::PolyPoints::scaleAndShift | ( | self, | ||
scale = (1,1 , |
||||
shift = (0,0 | ||||
) |