For all the points (x’, y’, z’) in a polyline, this function returns the coordinates (x’, y’) whose corresponding z’ height is the closest to z.
polyline (2D array) – a 3D polyline
z (int) – z coordinate in 3D space
(x’, y’) coordinates
float