Message: Re: Random Point in Solid Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Random Point in Solid 

Keywords: geometry random point
Forum: Geometry
Re: Question Random Point in Solid
Date: 04 Mar, 2005
From: Vladimir Grichine <Vladimir Grichine>

One can use aSolid.Inside(point) logic. Here point is randomly distributed in a box covering required solid. Then depending on a return from Inside function one can select random ponit inside, outside or on surface.

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

 Add Message Add Message
to: "Re: Random Point in Solid"

 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 ]