14 #ifndef BASICTOOL_GEOCONE_H
15 #define BASICTOOL_GEOCONE_H
27 class Cone :
public HalfLine {
38 Cone(
const double x,
const double y,
const double z,
39 const double dirx,
const double diry,
const double dirz,
40 const double length,
const double radius);
44 const double length,
const double radius);
51 double Angle ()
const;
56 void Length(
const double l);
70 template <
class T,
class U>
Cone(
const T& start,
const U&
dir)
process_name opflash particleana ie ie ie z
double _radius
Radius of the cone at the base.
process_name opflash particleana ie x
double _angle
Opening Angle.
double _length
Helight (length) of the cone.
double Length() const
Length getter.
Cone()
Default constructor.
Representation of a 3D semi-infinite line. Defines a 3D cone with the following properties: Start po...
process_name opflash particleana ie ie y
Cone(const T &start, const U &dir)
Alternative ctor using template (3)
virtual ~Cone()
Default destructor.
double Angle() const
Angle getter.
double Radius() const
Length getter.