ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
Trk::BevelledBoundaryIntersector Struct Reference

#include <BevelledCylinderVolumeBounds.h>

Collaboration diagram for Trk::BevelledBoundaryIntersector:

Public Member Functions

 BevelledBoundaryIntersector (double px, double py, double k, double xprime)
 

Public Attributes

double yOfX
 the result of x More...
 
double segLength
 length of the line segment More...
 

Detailed Description

Definition at line 27 of file BevelledCylinderVolumeBounds.h.

Constructor & Destructor Documentation

◆ BevelledBoundaryIntersector()

Trk::BevelledBoundaryIntersector::BevelledBoundaryIntersector ( double  px,
double  py,
double  k,
double  xprime 
)
inline

Definition at line 32 of file BevelledCylinderVolumeBounds.h.

32  {
33  double deltax = xprime-px;
34  yOfX = py + k*(deltax);
35  double deltay = yOfX-py;
36  segLength = sqrt(deltax*deltax+deltay*deltay);
37  }

Member Data Documentation

◆ segLength

double Trk::BevelledBoundaryIntersector::segLength

length of the line segment

Definition at line 30 of file BevelledCylinderVolumeBounds.h.

◆ yOfX

double Trk::BevelledBoundaryIntersector::yOfX

the result of x

Definition at line 29 of file BevelledCylinderVolumeBounds.h.


The documentation for this struct was generated from the following file:
Trk::py
@ py
Definition: ParamDefs.h:60
Trk::px
@ px
Definition: ParamDefs.h:59
Trk::BevelledBoundaryIntersector::yOfX
double yOfX
the result of x
Definition: BevelledCylinderVolumeBounds.h:29
Trk::BevelledBoundaryIntersector::segLength
double segLength
length of the line segment
Definition: BevelledCylinderVolumeBounds.h:30
fitman.k
k
Definition: fitman.py:528