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

Any advise, folks?