'Returns the position of handles in the ROI\'s coordinate system.
The format returned is a list of (name, pos) tuples.'

def getLocalHandlePositions(self, index=None):

    if (index == None):
        positions = []
        for h in self.handles:
            positions.append((h['name'], h['pos']))
        return positions
    else:
        return (self.handles[index]['name'], self.handles[index]['pos'])
