Made transform_or_invert_point public