Rectilinear and Brownian motion from a random point in a convex region