GetVariant() : additional validations for point encoding and decoding