ATLAS Offline Software
Loading...
Searching...
No Matches
Trk::Vect3DF Struct Reference

#include <TrkVKalUtils.h>

Collaboration diagram for Trk::Vect3DF:

Public Member Functions

 Vect3DF () noexcept
void Set (double arr[3]) noexcept
double Dist3D (Vect3DF &v) const noexcept

Public Attributes

double X
double Y
double Z

Detailed Description

Definition at line 14 of file TrkVKalUtils.h.

Constructor & Destructor Documentation

◆ Vect3DF()

Trk::Vect3DF::Vect3DF ( )
inlinenoexcept

Definition at line 16 of file TrkVKalUtils.h.

16{ X=Y=Z=0.; }

Member Function Documentation

◆ Dist3D()

double Trk::Vect3DF::Dist3D ( Vect3DF & v) const
inlinenoexcept

Definition at line 18 of file TrkVKalUtils.h.

18{ return sqrt(pow(X-v.X,2)+pow(Y-v.Y,2)+pow(Z-v.Z,2)); }
constexpr int pow(int base, int exp) noexcept
@ v
Definition ParamDefs.h:78

◆ Set()

void Trk::Vect3DF::Set ( double arr[3])
inlinenoexcept

Definition at line 17 of file TrkVKalUtils.h.

17{ X=arr[0]; Y=arr[1]; Z=arr[2]; }

Member Data Documentation

◆ X

double Trk::Vect3DF::X

Definition at line 15 of file TrkVKalUtils.h.

◆ Y

double Trk::Vect3DF::Y

Definition at line 15 of file TrkVKalUtils.h.

◆ Z

double Trk::Vect3DF::Z

Definition at line 15 of file TrkVKalUtils.h.


The documentation for this struct was generated from the following file: