The geometry of peaked solitons and billiard solutions of a class of integrable PDE's