The LineIntersectsSurfaces command doesn't return some intersections for "door" objects when they're open:
Here, I'm using a simple test code to return the intersections with the "GEOM" lod (see the Steps to Reproduce)
However, the object clearly has a surface there in the Geometry LOD (it also blocks the player's movement, even if crawling):
Note that even though I've shown a single line here, it doesn't return any intersection at all for the left part of the door.
If you close the door, the command works correctly and the "gaps" disappear.
I'm not sure what's wrong here. But I think the command is broken (or maybe a bad LOD?)