DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Private Attributes | List of all members
dd4hep::rec::Vector2D Class Reference

#include <Vector2D.h>

Public Member Functions

 Vector2D ()
 
 Vector2D (double u_val, double v_val)
 
double operator[] (unsigned i) const
 
double u () const
 
double v () const
 
double & u ()
 
double & v ()
 

Private Attributes

double _u
 
double _v
 

Detailed Description

Simple 2D vector helper class; moved out of ISurface definition.

Definition at line 23 of file Vector2D.h.

Constructor & Destructor Documentation

◆ Vector2D() [1/2]

dd4hep::rec::Vector2D::Vector2D ( )
inline

Definition at line 26 of file Vector2D.h.

◆ Vector2D() [2/2]

dd4hep::rec::Vector2D::Vector2D ( double  u_val,
double  v_val 
)
inline

Definition at line 27 of file Vector2D.h.

Member Function Documentation

◆ operator[]()

double dd4hep::rec::Vector2D::operator[] ( unsigned  i) const
inline

Definition at line 29 of file Vector2D.h.

◆ u() [1/2]

double& dd4hep::rec::Vector2D::u ( )
inline

Definition at line 38 of file Vector2D.h.

◆ u() [2/2]

double dd4hep::rec::Vector2D::u ( ) const
inline

Definition at line 34 of file Vector2D.h.

◆ v() [1/2]

double& dd4hep::rec::Vector2D::v ( )
inline

Definition at line 39 of file Vector2D.h.

◆ v() [2/2]

double dd4hep::rec::Vector2D::v ( ) const
inline

Definition at line 36 of file Vector2D.h.

Member Data Documentation

◆ _u

double dd4hep::rec::Vector2D::_u
private

Definition at line 42 of file Vector2D.h.

◆ _v

double dd4hep::rec::Vector2D::_v
private

Definition at line 42 of file Vector2D.h.


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