Three-dimensional mechanics of UHPM terrains and resultantP-T-tpaths