Curved wall generation

Hello,

In this part of mapping rules it says that sometimes one side of the wall if right andled and the other side is curved


how can i exactly know when this happens?