ATLAS Offline Software
Loading...
Searching...
No Matches
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
double segLength
 length of the line segment

Detailed Description

  • identical code to TrkExUtils/RealLinearEquation (but forbidden dependency!)

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 }
@ px
Definition ParamDefs.h:59
@ py
Definition ParamDefs.h:60
double segLength
length of the line segment

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: