A girl in a yellow dress looks at a restaurant building.
A girl in front of a building.
The restaurant is a building.
If the girl is looks at a restaurant building this implies she is in front of a building.
The girl must be standing in front of the building to look at it.