Piecewise-Linear Diffusion Processes