Message: Generating random point in volume, not on surface Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Generating random point in volume, not on surface 

Forum: Geometry
Date: 24 Oct, 2007
From: Henrik <SI@wcreplays.com>

Is there an easier way to generate a random point in a physical volume than to write my own function by adapting the code from the general EstimateCubicVolume function and adding checks to verify the point is not in a daughter volume?

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Generating random point in volume, not on surface   (John Apostolakis - 25 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (Henrik - 26 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (John Apostolakis - 26 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (Henrik - 29 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (John Allison - 29 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (Henrik - 30 Oct, 2007)
(_ None: Re: Generating random point in volume, not on surface   (Henrik - 30 Oct, 2007)
 Add Message Add Message
to: "Generating random point in volume, not on surface"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]