1
/////////////////////////////////////////////////////////////
3
// Copyright (c) 2007-2011 by The University of Queensland //
4
// Earth Systems Science Computational Centre (ESSCC) //
5
// http://www.uq.edu.au/esscc //
7
// Primary Business: Brisbane, Queensland, Australia //
8
// Licensed under the Open Software License version 3.0 //
9
// http://www.opensource.org/licenses/osl-3.0.php //
11
/////////////////////////////////////////////////////////////
13
#ifndef __BOXWITHLINES2DSUBVOL_H
14
#define __BOXWITHLINES2DSUBVOL_H
16
// --- Project includes ---
17
#include "BoxWithLines2D.h"
19
// --- STL includes ---
25
\class BoxWithLines2DSubVol
27
A class for the generation of random particles inside a box. An arbitrary number
28
of lines can be added to which the particles are fitted. The class supplies a number of
29
subvolumes for the getAPoint function
31
class BoxWithLines2DSubVol : public BoxWithLines2D
34
double m_svdim_x,m_svdim_y;
38
BoxWithLines2DSubVol();
39
BoxWithLines2DSubVol(const Vector3&,const Vector3&,double,double);
40
virtual ~BoxWithLines2DSubVol(){};
42
virtual Vector3 getAPoint(int) const;
43
virtual int getNumberSubVolumes() const;
45
#endif // __BOXWITHLINES2DSUBVOL_H