Castle walls constructed in the Azuchi and Edo periods mostly had Masugata or similar types of Koguchi, and to prevent an enemy from easily proceeding straight, many of the paths following the first gate were designed to bend to the right or left.
近世城郭はその多くが枡形、あるいはそれに類する虎口を備え、侵入した攻撃側が容易に直進できないようにするため右折または左折構造を採る場合が多い。