Bayeux  3.4.1
Core Foundation library for SuperNEMO
triangle_random_tools.h
Go to the documentation of this file.
1 /* Author(s) : Francois Mauger <mauger@lpccaen.in2p3.fr>
3  * Creation date: 2012-09-26
4  * Last modified: 2014-04-09
5  *
6  * License:
7  *
8  * Description:
9  *
10  * Algorithm to randomize points on the surface of a triangle
11  *
12  * History:
13  *
14  *
15  */
16 
17 #ifndef GENVTX_TRIANGLE_RANDOM_TOOLS_H
18 #define GENVTX_TRIANGLE_RANDOM_TOOLS_H 1
19 
20 // Third party:
21 // - Bayeux/geomtools
22 #include <geomtools/utils.h>
23 // - Bayeux/mygsl
24 #include <mygsl/rng.h>
25 
26 namespace genvtx {
27 
30  const geomtools::vector_3d & vtx1_,
31  const geomtools::vector_3d & vtx2_,
32  mygsl::rng & random_);
33 
34 } // end of namespace genvtx
35 
36 #endif // GENVTX_TRIANGLE_RANDOM_TOOLS_H
37 
38 /*
39 ** Local Variables: --
40 ** mode: c++ --
41 ** c-file-style: "gnu" --
42 ** tab-width: 2 --
43 ** End: --
44 */
geomtools::vector_3d triangle_random_surface(const geomtools::vector_3d &vtx0_, const geomtools::vector_3d &vtx1_, const geomtools::vector_3d &vtx2_, mygsl::rng &random_)
Top-level namespace of the Bayeux/genvtx module library.
Definition: box_model_vg.h:32
CLHEP::Hep3Vector vector_3d
Alias for the CLHEP 3D-vector class.
Definition: clhep.h:63
Pseudo random number generator.
Definition: rng.h:53