(self, p2)
return x1*x2 + y1*y2
Return dot product of self with another Point.
Return dot product of self with another Point.
Return dot product of self with another Point .
def dot(self, p2):
        """Return dot product of self with another Point."""
        p2 = Point(p2)
        x1, y1 = self.args
        x2, y2 = p2.args
        return x1*x2 + y1*y2
def dot ( self , p2 ) : p2 = Point ( p2 ) x1 , y1 = self . args x2 , y2 = p2 . args return x1 * x2 + y1 * y2