1
vote
0answers
21 views

Sphere on a grid

So, this is a little tricky kind of a question and I'm not totally sure if it's a mathematic question or a more programming one, but I nevertheless hope to find answers. I want to find out the error ...
1
vote
0answers
39 views

Uniformly sample points over a circular patch of a sphere without rejection [duplicate]

Possible Duplicate: Generate a random direction within a cone A point on a unit sphere $(x,y,z)$ and an maximal angular separation $\theta$ defines a patch with an area of $\Omega = 2 \pi ...
3
votes
1answer
66 views

Samples in the convex body vs. samples on the convex surface

Let $K$ be a bounded convex body in $\mathbb{R}^n$. Suppose we have a sampler $\mathcal{S}_1$ that can generate points uniformly distributed in $\mathrm{int}K$, and another sampler $\mathcal{S}_2$ ...