pyinterp.geometry.cartesian.algorithms.transform_to_segment