uniform generation of 3D points on cylinder/cone
Posted
by Myx
on Stack Overflow
See other posts from Stack Overflow
or by Myx
Published on 2010-04-20T20:47:29Z
Indexed on
2010/04/20
20:53 UTC
Read the original article
Hit count: 356
Hello:
I wish to randomly and uniformly generate points on a cylinder and a cone (separately). The cylinder is defined by its center, its radius and height. Same specifications for the cone. I am able to get the bounding box for each shape so I was thinking of generating points within the bounding box. However, I'm not sure how to project them onto the cylinder/cone or if this is the best idea.
Any suggestions?
Thanks.
© Stack Overflow or respective owner