def rotate(self, deg, p):
        rad = deg * DEG2RAD
        x = self.x
        y = self.y
        self.x = (x * cos(rad) + y * sin(rad))
        self.y = (x * -sin(rad) + y * cos(rad))
        return
rotate the point in degrees around another point
dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/point.py/Point.rotate