Draw a curved line between two random points?

How would I get a volume along the spline?