Is there any way to get infinite spheres?

ROOT Version: Not Provided
Platform: Not Provided
Compiler: Not Provided

I made spheres by using this:
TSPHE (const char *name, const char *title, const char *material, Float_t rmin, Float_t rmax, Float_t themin, Float_t themax, Float_t phimin, Float_t phimax)

Also, I made nodes by using this:
TNode (const char *name, const char *title, const char *shapename, Double_t x=0, Double_t y=0, Double_t z=0, const char *matrixname="", Option_t *option="")

What I want to make is making spheres through loop(e.g. for loop).

Is this possible?

Or course it is … you can make a C “for” loop and create spheres inside …
I do not see where is the problem … that’s just normal C/C++.

I’m so sorry.

Because I am beginner, I didn’t know about it.

Anyway, Thanks for your answer.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.