This method returns wrong values when the scene has an elevation.
After further debugging I found out that this method expect the absolute altitude (including baseSurface elevation) but the shapes we draw have their altitude relative to the ground.
As a consequence, when the map has an elevation on the baseSurface and we use the same AGSPoint to draw a shape then in AGSSceneView.locationToScreen, the result of this function is not corresponding to what is displayed on the screen.