def METHOD_NAME(self, X):
    #print X
    dx = X - self.incenter
    #print dx
    dx = dx * self.scale
    #print dx
    dx = self.rotation * dx
    #print dx
    dx = dx + self.outcenter
    #print dx
    return dx