Determines whether a point lies on the curve.
By default this function throws the exception "not Implemented". Should be implemented in derived classes.