How does orientation of location compare to orientation of other objects?

Hi there,

I’m using the REST API to create a location.

What I’m confused about is how the orientation of items in the room (e.g. walls) relates to the location orientation. E.g. take the example here:

The first wall is 0,0 to 0,5 which is 90 degrees. But the overall location is 23.5.

Is the location a “rotation” which is applied to all the objects after they’ve been laid out?

I’ve tried experimenting with changing the location orientation but it doesn’t seem to do anything when I look at the room via

So, how does location orientation relate to wall orientation?