def __eq__(self, p2):
    '\n        Defines == for Points:  a == b   is equivalent to  a.__eq__(b).\n        Treats two numbers as "equal" if they are within 6 decimal\n        places of each other for both x and y coordinates.\n        '
    return ((round(self.x, 6) == round(p2.x, 6)) and (round(self.y, 6) == round(p2.y, 6)))
Defines == for Points:  a == b   is equivalent to  a.__eq__(b).
Treats two numbers as "equal" if they are within 6 decimal
places of each other for both x and y coordinates.
def __eq__(self, p2):
    '\n        Defines == for Points:  a == b   is equivalent to  a.__eq__(b).\n        Treats two numbers as "equal" if they are within 6 decimal\n        places of each other for both x and y coordinates.\n        '
    return ((round(self.x, 6) == round(p2.x, 6)) and (round(self.y, 6) == round(p2.y, 6)))