The geometry of nonsmooth analysis