In-plane buckling of prismatic funicular arches with shear deformations