5 #include <LCGeometryTypes.h>
26 bool endPlane =
false) ;
36 LCCylinder(
double radius, LCVector3D point, LCVector3D axis,
bool endPlane) ;
75 double distance(
const LCVector3D & point)
const ;
87 LCVector3D
projectPoint(
const LCVector3D & point,
int & code)
const ;
93 bool isInside(
const LCVector3D & point)
const ;
108 LCVector3D _axisSstartPoint;
109 LCVector3D _axisEndPoint;
double length() const
length of cylinder axis
Definition: LCCylinder.cc:70
bool operator==(const LCCylinder &rhs) const
Test for equality.
Definition: LCCylinder.cc:206
bool isInside(const LCVector3D &point) const
Checks if a given point is inside the clyinder.
Definition: LCCylinder.cc:192
LCVector3D endPoint() const
end point of cylinder axis
Definition: LCCylinder.cc:60
LCCylinder & operator=(const LCCylinder &rhs)
Assignment.
Definition: LCCylinder.cc:44
~LCCylinder()
Destructor.
Definition: LCCylinder.h:45
double radius() const
Radius of cylinder.
Definition: LCCylinder.cc:75
double distance(const LCVector3D &point) const
Distance of a point to the cylinder.
Definition: LCCylinder.cc:80
LCVector3D startPoint() const
startpoint of cylinder axis
Definition: LCCylinder.cc:55
LCCylinder(LCVector3D point1, LCVector3D point2, double radius, bool endPlane=false)
Constructor from two points and a radius.
Definition: LCCylinder.cc:11
LCVector3D axisDirection() const
orientation of cylinder axis.
Definition: LCCylinder.cc:65
bool operator!=(const LCCylinder &rhs) const
Test for inequality.
Definition: LCCylinder.cc:214
Definition of a LCCylinder describing a geometrical cylinder in 3D space.
Definition: LCCylinder.h:12
LCVector3D projectPoint(const LCVector3D &point, int &code) const
Projection of a point on to the surface of the cylinder.
Definition: LCCylinder.cc:86