Geant4  10.00.p03
UVector2.hh File Reference
#include <cmath>
#include <iostream>
#include "UVector3.hh"
+ Include dependency graph for UVector2.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UVector2
 

Functions

std::ostream & operator<< (std::ostream &, const UVector2 &)
 
double operator* (const UVector2 &a, const UVector2 &b)
 
UVector2 operator* (const UVector2 &p, double a)
 
UVector2 operator* (double a, const UVector2 &p)
 
UVector2 operator/ (const UVector2 &p, double a)
 
UVector2 operator+ (const UVector2 &a, const UVector2 &b)
 
UVector2 operator- (const UVector2 &a, const UVector2 &b)
 

Variables

static const UVector2 X_HAT2 (1.0, 0.0)
 
static const UVector2 Y_HAT2 (0.0, 1.0)
 

Function Documentation

double operator* ( const UVector2 a,
const UVector2 b 
)
inline

Definition at line 396 of file UVector2.hh.

References UVector2::dot().

+ Here is the call graph for this function:

UVector2 operator* ( const UVector2 p,
double  a 
)
inline

Definition at line 386 of file UVector2.hh.

References UVector2::x, and UVector2::y.

UVector2 operator* ( double  a,
const UVector2 p 
)
inline

Definition at line 391 of file UVector2.hh.

References UVector2::x, and UVector2::y.

UVector2 operator+ ( const UVector2 a,
const UVector2 b 
)
inline

Definition at line 376 of file UVector2.hh.

References UVector2::x, and UVector2::y.

UVector2 operator- ( const UVector2 a,
const UVector2 b 
)
inline

Definition at line 381 of file UVector2.hh.

References UVector2::x, and UVector2::y.

UVector2 operator/ ( const UVector2 p,
double  a 
)

Definition at line 73 of file UVector2.cc.

References UVector2::x, and UVector2::y.

std::ostream& operator<< ( std::ostream &  ,
const UVector2  
)

Definition at line 82 of file UVector2.cc.

References UVector2::x, and UVector2::y.

Variable Documentation

const UVector2 X_HAT2(1.0, 0.0)
static
const UVector2 Y_HAT2(0.0, 1.0)
static