Note: I'm not familiar with a lot of mathematical terminology, so please excuse any misuses. I'd also make a request to use simpler language (if possible) in an answer
What I'm seeking is similar to this question, but instead of expected distance I'm looking for a probability function.
I'm potentially also looking for an equivalent within 2D space (line replaced with a circle of the line's diameter)