Geometry.DoesIntersect with a Mesh Fails

I am trying to establish if a Line intersects with a Mesh but I get the error -
Warning: Geometry.DoesIntersect expects argument type(s) (Geometry, Geometry), but was called with (Autodesk.DesignScript.Geometry.Mesh, Autodesk.DesignScript.Geometry.Line[]).

Why does this fail? It will work if I use a PolySurface and Line, is the Mesh not geometry?

Thanks in advance.


@AlexanderBerg I had sort of figured out a workaround but some of the meshes I had tested on fail with the error:
*Warning: PolySurface.ByJoinedSurfaces operation failed. *
Unable to stitch Surfaces into a single PolySurface. : FIT_NO_SPAN – attempt to fit curve to zero or one points
I’d also still like to know why the Geometry.DoesIntersect node doesn’t treat a Mesh as geometry.