Determining "wall", "floor" and "ceiling" based on a slope angle and direction of normals?

Is “multi line trace” what youre looking for?