':param other:
A PrimePoint object
:return:
0 if identical, 1 otherwise'

def __cmp__(self, other):

    if ((self.curve == other.curve) and (self.x == other.x) and (self.y == other.y)):
        return 0
    else:
        return 1
