Wall bounding the room to North,East,West ,south....!

This Node seems to collect wall by project directions, I am looking a node to collect it by which direction the wall is placed on room…!

the node says the hihglighted wall is on the south( because it is parallel to south)

But it is on the North with respect to the room

Iam looking for a node that can do thr same w/r to room…! how should i proceed this??