openalea.phenomenal.tracking.median_stem.z_to_xy# openalea.phenomenal.tracking.median_stem.z_to_xy(polyline, z)[source]# 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. Parameters: polyline (2D array) – a 3D polyline z (int) – z coordinate in 3D space Returns: (x’, y’) coordinates Return type: float