Graphic statics in arches and curved beams