The closest thing I can think of is the sampleHeight function, which lets you get the height of a tile at any point. You can see an example of this here:
We’re still working on fleshing out this functionality, you can see the progress here:
So as of right now I don’t think there’s a way to get the intersection of tile with a line with the public API. Internally we do use ray intersection functions to compute this height, so you might be able to figure it out by digging in the source code but it wouldn’t be a simple solution.