The famous Buffon's needle problem relates the area of a region $C$ (or length of a curve $C$, in 1D) to the expected number of times a randomly dropped needle will fall on the region.
This makes sense if the lengths of all needles are the same, and their distribution of location and angle is uniformly random. However, is there a generalization of the problem where the needle lengths, location and angle follow a given, nonuniform distribution?
I was thinking this could extend the problem to non-Euclidean settings - say instead of laying on $\mathbb{R}^n$, the region $C$ lays on a Riemannian manifold. In this case, could we come up with a Buffon's needle-type formula for the area of $C$ on the manifold? What would the distribution of needles be in this case?