Localised failure mechanism as the basis for constitutive modelling of geomaterials