Opening direction and hinges of windows and doors