Throws if parameter is not a valid point, or either x or y is 0
Throws an error if not a valid point or zero.
Throws if parameter is not a valid point, or either x or y is 0