why in a sphere x = xyplaneradius * cos (theta) Z=xyplaneradius*sin(theta)
is theta the azimuthal angle? and what is "xyplaneradius" ?
yes theta is azimuthal angle XYplane radius is the radius of XYplane
or someone can explain to me how to get this XYRadius = sqrt(radius2 – Z2) XYThetaValue = rand() between PI*2 and zero X = current position + [cos(XYThetaValue)*XYRadius] Z = current position + [sin(XYThetaValue)*XYRadius] Y = current position + [rand() between (-radius) and (radius)] 0 seconds ago
what coordinate system is this?
your notation is confusing me
i also find somewhere distributing/generating points in a Zx plane of a sphere
what is this about y =current position + [rand() between (-radius) and (radius)] ?? what is rand() ??
random is the randome function that can generate random number between -r and r r=radius of sphere
Join our real-time social learning platform and learn together with your friends!