CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
CLHEP::Hep2Vector Class Reference

#include <TwoVector.h>

Public Types

enum  { X =0, Y =1, NUM_COORDINATES =2, SIZE =NUM_COORDINATES }
 
enum  { ZMpvToleranceTicks = 100 }
 
enum  { X =0, Y =1, NUM_COORDINATES =2, SIZE =NUM_COORDINATES }
 
enum  { ZMpvToleranceTicks = 100 }
 
enum  { X =0, Y =1, NUM_COORDINATES =2, SIZE =NUM_COORDINATES }
 
enum  { ZMpvToleranceTicks = 100 }
 
enum  { X =0, Y =1, NUM_COORDINATES =2, SIZE =NUM_COORDINATES }
 
enum  { ZMpvToleranceTicks = 100 }
 
enum  { X =0, Y =1, NUM_COORDINATES =2, SIZE =NUM_COORDINATES }
 
enum  { ZMpvToleranceTicks = 100 }
 

Public Member Functions

 Hep2Vector (double x=0.0, double y=0.0)
 
 Hep2Vector (const Hep2Vector &p)
 
 Hep2Vector (const Hep3Vector &)
 
 ~Hep2Vector ()
 
double x () const
 
double y () const
 
double operator() (int i) const
 
double operator[] (int i) const
 
doubleoperator() (int i)
 
doubleoperator[] (int i)
 
void setX (double x)
 
void setY (double y)
 
void set (double x, double y)
 
double phi () const
 
double mag2 () const
 
double mag () const
 
double r () const
 
void setPhi (double phi)
 
void setMag (double r)
 
void setR (double r)
 
void setPolar (double r, double phi)
 
Hep2Vectoroperator= (const Hep2Vector &p)
 
bool operator== (const Hep2Vector &v) const
 
bool operator!= (const Hep2Vector &v) const
 
int compare (const Hep2Vector &v) const
 
bool operator> (const Hep2Vector &v) const
 
bool operator< (const Hep2Vector &v) const
 
bool operator>= (const Hep2Vector &v) const
 
bool operator<= (const Hep2Vector &v) const
 
double howNear (const Hep2Vector &p) const
 
bool isNear (const Hep2Vector &p, double epsilon=tolerance) const
 
double howParallel (const Hep2Vector &p) const
 
bool isParallel (const Hep2Vector &p, double epsilon=tolerance) const
 
double howOrthogonal (const Hep2Vector &p) const
 
bool isOrthogonal (const Hep2Vector &p, double epsilon=tolerance) const
 
Hep2Vectoroperator+= (const Hep2Vector &p)
 
Hep2Vectoroperator-= (const Hep2Vector &p)
 
Hep2Vector operator- () const
 
Hep2Vectoroperator*= (double a)
 
Hep2Vector unit () const
 
Hep2Vector orthogonal () const
 
double dot (const Hep2Vector &p) const
 
double angle (const Hep2Vector &) const
 
void rotate (double)
 
 operator Hep3Vector () const
 
 Hep2Vector (double x=0.0, double y=0.0)
 
 Hep2Vector (const Hep2Vector &p)
 
 Hep2Vector (const Hep3Vector &)
 
 ~Hep2Vector ()
 
double x () const
 
double y () const
 
double operator() (int i) const
 
double operator[] (int i) const
 
doubleoperator() (int i)
 
doubleoperator[] (int i)
 
void setX (double x)
 
void setY (double y)
 
void set (double x, double y)
 
double phi () const
 
double mag2 () const
 
double mag () const
 
double r () const
 
void setPhi (double phi)
 
void setMag (double r)
 
void setR (double r)
 
void setPolar (double r, double phi)
 
Hep2Vectoroperator= (const Hep2Vector &p)
 
bool operator== (const Hep2Vector &v) const
 
bool operator!= (const Hep2Vector &v) const
 
int compare (const Hep2Vector &v) const
 
bool operator> (const Hep2Vector &v) const
 
bool operator< (const Hep2Vector &v) const
 
bool operator>= (const Hep2Vector &v) const
 
bool operator<= (const Hep2Vector &v) const
 
double howNear (const Hep2Vector &p) const
 
bool isNear (const Hep2Vector &p, double epsilon=tolerance) const
 
double howParallel (const Hep2Vector &p) const
 
bool isParallel (const Hep2Vector &p, double epsilon=tolerance) const
 
double howOrthogonal (const Hep2Vector &p) const
 
bool isOrthogonal (const Hep2Vector &p, double epsilon=tolerance) const
 
Hep2Vectoroperator+= (const Hep2Vector &p)
 
Hep2Vectoroperator-= (const Hep2Vector &p)
 
Hep2Vector operator- () const
 
Hep2Vectoroperator*= (double a)
 
Hep2Vector unit () const
 
Hep2Vector orthogonal () const
 
double dot (const Hep2Vector &p) const
 
double angle (const Hep2Vector &) const
 
void rotate (double)
 
 operator Hep3Vector () const
 
 Hep2Vector (double x=0.0, double y=0.0)
 
 Hep2Vector (const Hep2Vector &p)
 
 Hep2Vector (const Hep3Vector &)
 
 ~Hep2Vector ()
 
double x () const
 
double y () const
 
double operator() (int i) const
 
double operator[] (int i) const
 
doubleoperator() (int i)
 
doubleoperator[] (int i)
 
void setX (double x)
 
void setY (double y)
 
void set (double x, double y)
 
double phi () const
 
double mag2 () const
 
double mag () const
 
double r () const
 
void setPhi (double phi)
 
void setMag (double r)
 
void setR (double r)
 
void setPolar (double r, double phi)
 
Hep2Vectoroperator= (const Hep2Vector &p)
 
bool operator== (const Hep2Vector &v) const
 
bool operator!= (const Hep2Vector &v) const
 
int compare (const Hep2Vector &v) const
 
bool operator> (const Hep2Vector &v) const
 
bool operator< (const Hep2Vector &v) const
 
bool operator>= (const Hep2Vector &v) const
 
bool operator<= (const Hep2Vector &v) const
 
double howNear (const Hep2Vector &p) const
 
bool isNear (const Hep2Vector &p, double epsilon=tolerance) const
 
double howParallel (const Hep2Vector &p) const
 
bool isParallel (const Hep2Vector &p, double epsilon=tolerance) const
 
double howOrthogonal (const Hep2Vector &p) const
 
bool isOrthogonal (const Hep2Vector &p, double epsilon=tolerance) const
 
Hep2Vectoroperator+= (const Hep2Vector &p)
 
Hep2Vectoroperator-= (const Hep2Vector &p)
 
Hep2Vector operator- () const
 
Hep2Vectoroperator*= (double a)
 
Hep2Vector unit () const
 
Hep2Vector orthogonal () const
 
double dot (const Hep2Vector &p) const
 
double angle (const Hep2Vector &) const
 
void rotate (double)
 
 operator Hep3Vector () const
 
 Hep2Vector (double x=0.0, double y=0.0)
 
 Hep2Vector (const Hep2Vector &p)
 
 Hep2Vector (const Hep3Vector &)
 
 ~Hep2Vector ()
 
double x () const
 
double y () const
 
double operator() (int i) const
 
double operator[] (int i) const
 
doubleoperator() (int i)
 
doubleoperator[] (int i)
 
void setX (double x)
 
void setY (double y)
 
void set (double x, double y)
 
double phi () const
 
double mag2 () const
 
double mag () const
 
double r () const
 
void setPhi (double phi)
 
void setMag (double r)
 
void setR (double r)
 
void setPolar (double r, double phi)
 
Hep2Vectoroperator= (const Hep2Vector &p)
 
bool operator== (const Hep2Vector &v) const
 
bool operator!= (const Hep2Vector &v) const
 
int compare (const Hep2Vector &v) const
 
bool operator> (const Hep2Vector &v) const
 
bool operator< (const Hep2Vector &v) const
 
bool operator>= (const Hep2Vector &v) const
 
bool operator<= (const Hep2Vector &v) const
 
double howNear (const Hep2Vector &p) const
 
bool isNear (const Hep2Vector &p, double epsilon=tolerance) const
 
double howParallel (const Hep2Vector &p) const
 
bool isParallel (const Hep2Vector &p, double epsilon=tolerance) const
 
double howOrthogonal (const Hep2Vector &p) const
 
bool isOrthogonal (const Hep2Vector &p, double epsilon=tolerance) const
 
Hep2Vectoroperator+= (const Hep2Vector &p)
 
Hep2Vectoroperator-= (const Hep2Vector &p)
 
Hep2Vector operator- () const
 
Hep2Vectoroperator*= (double a)
 
Hep2Vector unit () const
 
Hep2Vector orthogonal () const
 
double dot (const Hep2Vector &p) const
 
double angle (const Hep2Vector &) const
 
void rotate (double)
 
 operator Hep3Vector () const
 
 Hep2Vector (double x=0.0, double y=0.0)
 
 Hep2Vector (const Hep2Vector &p)
 
 Hep2Vector (const Hep3Vector &)
 
 ~Hep2Vector ()
 
double x () const
 
double y () const
 
double operator() (int i) const
 
double operator[] (int i) const
 
doubleoperator() (int i)
 
doubleoperator[] (int i)
 
void setX (double x)
 
void setY (double y)
 
void set (double x, double y)
 
double phi () const
 
double mag2 () const
 
double mag () const
 
double r () const
 
void setPhi (double phi)
 
void setMag (double r)
 
void setR (double r)
 
void setPolar (double r, double phi)
 
Hep2Vectoroperator= (const Hep2Vector &p)
 
bool operator== (const Hep2Vector &v) const
 
bool operator!= (const Hep2Vector &v) const
 
int compare (const Hep2Vector &v) const
 
bool operator> (const Hep2Vector &v) const
 
bool operator< (const Hep2Vector &v) const
 
bool operator>= (const Hep2Vector &v) const
 
bool operator<= (const Hep2Vector &v) const
 
double howNear (const Hep2Vector &p) const
 
bool isNear (const Hep2Vector &p, double epsilon=tolerance) const
 
double howParallel (const Hep2Vector &p) const
 
bool isParallel (const Hep2Vector &p, double epsilon=tolerance) const
 
double howOrthogonal (const Hep2Vector &p) const
 
bool isOrthogonal (const Hep2Vector &p, double epsilon=tolerance) const
 
Hep2Vectoroperator+= (const Hep2Vector &p)
 
Hep2Vectoroperator-= (const Hep2Vector &p)
 
Hep2Vector operator- () const
 
Hep2Vectoroperator*= (double a)
 
Hep2Vector unit () const
 
Hep2Vector orthogonal () const
 
double dot (const Hep2Vector &p) const
 
double angle (const Hep2Vector &) const
 
void rotate (double)
 
 operator Hep3Vector () const
 

Static Public Member Functions

static double getTolerance ()
 
static double setTolerance (double tol)
 
static double getTolerance ()
 
static double setTolerance (double tol)
 
static double getTolerance ()
 
static double setTolerance (double tol)
 
static double getTolerance ()
 
static double setTolerance (double tol)
 
static double getTolerance ()
 
static double setTolerance (double tol)
 

Friends

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

Detailed Description

Author

Definition at line 49 of file Geometry/CLHEP/Vector/TwoVector.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NUM_COORDINATES 
SIZE 

Definition at line 53 of file Geometry/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
ZMpvToleranceTicks 

Definition at line 196 of file Geometry/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
NUM_COORDINATES 
SIZE 

Definition at line 53 of file Matrix/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
ZMpvToleranceTicks 

Definition at line 196 of file Matrix/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
NUM_COORDINATES 
SIZE 

Definition at line 53 of file RandomObjects/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
ZMpvToleranceTicks 

Definition at line 196 of file RandomObjects/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
NUM_COORDINATES 
SIZE 

Definition at line 53 of file Vector/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
ZMpvToleranceTicks 

Definition at line 196 of file Vector/CLHEP/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
NUM_COORDINATES 
SIZE 

Definition at line 53 of file Vector/Vector/TwoVector.h.

◆ anonymous enum

anonymous enum
Enumerator
ZMpvToleranceTicks 

Definition at line 196 of file Vector/Vector/TwoVector.h.

Constructor & Destructor Documentation

◆ Hep2Vector() [1/15]

CLHEP::Hep2Vector::Hep2Vector ( double  x = 0.0,
double  y = 0.0 
)
inline

Referenced by CLHEP::operator/().

◆ Hep2Vector() [2/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep2Vector p)
inline

◆ Hep2Vector() [3/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep3Vector )
explicit

◆ ~Hep2Vector() [1/5]

CLHEP::Hep2Vector::~Hep2Vector ( )
inline

◆ Hep2Vector() [4/15]

CLHEP::Hep2Vector::Hep2Vector ( double  x = 0.0,
double  y = 0.0 
)
inline

◆ Hep2Vector() [5/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep2Vector p)
inline

◆ Hep2Vector() [6/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep3Vector )
explicit

◆ ~Hep2Vector() [2/5]

CLHEP::Hep2Vector::~Hep2Vector ( )
inline

◆ Hep2Vector() [7/15]

CLHEP::Hep2Vector::Hep2Vector ( double  x = 0.0,
double  y = 0.0 
)
inline

◆ Hep2Vector() [8/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep2Vector p)
inline

◆ Hep2Vector() [9/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep3Vector )
explicit

◆ ~Hep2Vector() [3/5]

CLHEP::Hep2Vector::~Hep2Vector ( )
inline

◆ Hep2Vector() [10/15]

CLHEP::Hep2Vector::Hep2Vector ( double  x = 0.0,
double  y = 0.0 
)
inline

◆ Hep2Vector() [11/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep2Vector p)
inline

◆ Hep2Vector() [12/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep3Vector )
explicit

◆ ~Hep2Vector() [4/5]

CLHEP::Hep2Vector::~Hep2Vector ( )
inline

◆ Hep2Vector() [13/15]

CLHEP::Hep2Vector::Hep2Vector ( double  x = 0.0,
double  y = 0.0 
)
inline

◆ Hep2Vector() [14/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep2Vector p)
inline

◆ Hep2Vector() [15/15]

CLHEP::Hep2Vector::Hep2Vector ( const Hep3Vector )
explicit

◆ ~Hep2Vector() [5/5]

CLHEP::Hep2Vector::~Hep2Vector ( )
inline

Member Function Documentation

◆ angle() [1/5]

double CLHEP::Hep2Vector::angle ( const Hep2Vector ) const
inline

◆ angle() [2/5]

double CLHEP::Hep2Vector::angle ( const Hep2Vector ) const
inline

◆ angle() [3/5]

double CLHEP::Hep2Vector::angle ( const Hep2Vector ) const
inline

◆ angle() [4/5]

double CLHEP::Hep2Vector::angle ( const Hep2Vector ) const
inline

◆ angle() [5/5]

double CLHEP::Hep2Vector::angle ( const Hep2Vector ) const
inline

◆ compare() [1/5]

int CLHEP::Hep2Vector::compare ( const Hep2Vector v) const

◆ compare() [2/5]

int CLHEP::Hep2Vector::compare ( const Hep2Vector v) const

◆ compare() [3/5]

int CLHEP::Hep2Vector::compare ( const Hep2Vector v) const

Definition at line 89 of file TwoVector.cc.

Referenced by operator<(), operator<=(), operator>(), and operator>=().

◆ compare() [4/5]

int CLHEP::Hep2Vector::compare ( const Hep2Vector v) const

◆ compare() [5/5]

int CLHEP::Hep2Vector::compare ( const Hep2Vector v) const

◆ dot() [1/5]

double CLHEP::Hep2Vector::dot ( const Hep2Vector p) const
inline

◆ dot() [2/5]

double CLHEP::Hep2Vector::dot ( const Hep2Vector p) const
inline

◆ dot() [3/5]

double CLHEP::Hep2Vector::dot ( const Hep2Vector p) const
inline

◆ dot() [4/5]

double CLHEP::Hep2Vector::dot ( const Hep2Vector p) const
inline

◆ dot() [5/5]

double CLHEP::Hep2Vector::dot ( const Hep2Vector p) const
inline

◆ getTolerance() [1/5]

static double CLHEP::Hep2Vector::getTolerance ( )
inlinestatic

◆ getTolerance() [2/5]

static double CLHEP::Hep2Vector::getTolerance ( )
inlinestatic

◆ getTolerance() [3/5]

static double CLHEP::Hep2Vector::getTolerance ( )
inlinestatic

◆ getTolerance() [4/5]

static double CLHEP::Hep2Vector::getTolerance ( )
inlinestatic

◆ getTolerance() [5/5]

static double CLHEP::Hep2Vector::getTolerance ( )
inlinestatic

◆ howNear() [1/5]

double CLHEP::Hep2Vector::howNear ( const Hep2Vector p) const

◆ howNear() [2/5]

double CLHEP::Hep2Vector::howNear ( const Hep2Vector p) const

◆ howNear() [3/5]

double CLHEP::Hep2Vector::howNear ( const Hep2Vector p) const

◆ howNear() [4/5]

double CLHEP::Hep2Vector::howNear ( const Hep2Vector p) const

Definition at line 122 of file TwoVector.cc.

References dot(), and mag2().

◆ howNear() [5/5]

double CLHEP::Hep2Vector::howNear ( const Hep2Vector p) const

◆ howOrthogonal() [1/5]

double CLHEP::Hep2Vector::howOrthogonal ( const Hep2Vector p) const

◆ howOrthogonal() [2/5]

double CLHEP::Hep2Vector::howOrthogonal ( const Hep2Vector p) const

Definition at line 163 of file TwoVector.cc.

References dot(), x(), and y().

◆ howOrthogonal() [3/5]

double CLHEP::Hep2Vector::howOrthogonal ( const Hep2Vector p) const

◆ howOrthogonal() [4/5]

double CLHEP::Hep2Vector::howOrthogonal ( const Hep2Vector p) const

◆ howOrthogonal() [5/5]

double CLHEP::Hep2Vector::howOrthogonal ( const Hep2Vector p) const

◆ howParallel() [1/5]

double CLHEP::Hep2Vector::howParallel ( const Hep2Vector p) const

◆ howParallel() [2/5]

double CLHEP::Hep2Vector::howParallel ( const Hep2Vector p) const

◆ howParallel() [3/5]

double CLHEP::Hep2Vector::howParallel ( const Hep2Vector p) const

◆ howParallel() [4/5]

double CLHEP::Hep2Vector::howParallel ( const Hep2Vector p) const

◆ howParallel() [5/5]

double CLHEP::Hep2Vector::howParallel ( const Hep2Vector p) const

Definition at line 134 of file TwoVector.cc.

References dot(), mag2(), x(), and y().

◆ isNear() [1/5]

bool CLHEP::Hep2Vector::isNear ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isNear() [2/5]

bool CLHEP::Hep2Vector::isNear ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isNear() [3/5]

bool CLHEP::Hep2Vector::isNear ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isNear() [4/5]

bool CLHEP::Hep2Vector::isNear ( const Hep2Vector p,
double  epsilon = tolerance 
) const

Definition at line 117 of file TwoVector.cc.

References dot(), and mag2().

◆ isNear() [5/5]

bool CLHEP::Hep2Vector::isNear ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isOrthogonal() [1/5]

bool CLHEP::Hep2Vector::isOrthogonal ( const Hep2Vector p,
double  epsilon = tolerance 
) const

Definition at line 178 of file TwoVector.cc.

References dot(), x(), and y().

◆ isOrthogonal() [2/5]

bool CLHEP::Hep2Vector::isOrthogonal ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isOrthogonal() [3/5]

bool CLHEP::Hep2Vector::isOrthogonal ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isOrthogonal() [4/5]

bool CLHEP::Hep2Vector::isOrthogonal ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isOrthogonal() [5/5]

bool CLHEP::Hep2Vector::isOrthogonal ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isParallel() [1/5]

bool CLHEP::Hep2Vector::isParallel ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isParallel() [2/5]

bool CLHEP::Hep2Vector::isParallel ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isParallel() [3/5]

bool CLHEP::Hep2Vector::isParallel ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isParallel() [4/5]

bool CLHEP::Hep2Vector::isParallel ( const Hep2Vector p,
double  epsilon = tolerance 
) const

◆ isParallel() [5/5]

bool CLHEP::Hep2Vector::isParallel ( const Hep2Vector p,
double  epsilon = tolerance 
) const

Definition at line 150 of file TwoVector.cc.

References dot(), mag2(), x(), and y().

◆ mag() [1/5]

double CLHEP::Hep2Vector::mag ( ) const
inline

◆ mag() [2/5]

double CLHEP::Hep2Vector::mag ( ) const
inline

◆ mag() [3/5]

double CLHEP::Hep2Vector::mag ( ) const
inline

◆ mag() [4/5]

double CLHEP::Hep2Vector::mag ( ) const
inline

◆ mag() [5/5]

double CLHEP::Hep2Vector::mag ( ) const
inline

◆ mag2() [1/5]

double CLHEP::Hep2Vector::mag2 ( ) const
inline

◆ mag2() [2/5]

double CLHEP::Hep2Vector::mag2 ( ) const
inline

◆ mag2() [3/5]

double CLHEP::Hep2Vector::mag2 ( ) const
inline

◆ mag2() [4/5]

double CLHEP::Hep2Vector::mag2 ( ) const
inline

◆ mag2() [5/5]

double CLHEP::Hep2Vector::mag2 ( ) const
inline

◆ operator Hep3Vector() [1/5]

CLHEP::Hep2Vector::operator Hep3Vector ( ) const

◆ operator Hep3Vector() [2/5]

CLHEP::Hep2Vector::operator Hep3Vector ( ) const

Definition at line 85 of file TwoVector.cc.

◆ operator Hep3Vector() [3/5]

CLHEP::Hep2Vector::operator Hep3Vector ( ) const

◆ operator Hep3Vector() [4/5]

CLHEP::Hep2Vector::operator Hep3Vector ( ) const

◆ operator Hep3Vector() [5/5]

CLHEP::Hep2Vector::operator Hep3Vector ( ) const

◆ operator!=() [1/5]

bool CLHEP::Hep2Vector::operator!= ( const Hep2Vector v) const
inline

◆ operator!=() [2/5]

bool CLHEP::Hep2Vector::operator!= ( const Hep2Vector v) const
inline

◆ operator!=() [3/5]

bool CLHEP::Hep2Vector::operator!= ( const Hep2Vector v) const
inline

◆ operator!=() [4/5]

bool CLHEP::Hep2Vector::operator!= ( const Hep2Vector v) const
inline

◆ operator!=() [5/5]

bool CLHEP::Hep2Vector::operator!= ( const Hep2Vector v) const
inline

◆ operator()() [1/10]

double CLHEP::Hep2Vector::operator() ( int  i) const

◆ operator()() [2/10]

double CLHEP::Hep2Vector::operator() ( int  i) const

Definition at line 29 of file TwoVector.cc.

References x(), y(), and ZMthrowA.

◆ operator()() [3/10]

double CLHEP::Hep2Vector::operator() ( int  i) const

◆ operator()() [4/10]

double CLHEP::Hep2Vector::operator() ( int  i) const

◆ operator()() [5/10]

double CLHEP::Hep2Vector::operator() ( int  i) const

◆ operator()() [6/10]

double& CLHEP::Hep2Vector::operator() ( int  i)

◆ operator()() [7/10]

double & CLHEP::Hep2Vector::operator() ( int  i)

Definition at line 41 of file TwoVector.cc.

References X, Y, and ZMthrowA.

◆ operator()() [8/10]

double& CLHEP::Hep2Vector::operator() ( int  i)

◆ operator()() [9/10]

double& CLHEP::Hep2Vector::operator() ( int  i)

◆ operator()() [10/10]

double& CLHEP::Hep2Vector::operator() ( int  i)

◆ operator*=() [1/5]

Hep2Vector& CLHEP::Hep2Vector::operator*= ( double  a)
inline

◆ operator*=() [2/5]

Hep2Vector& CLHEP::Hep2Vector::operator*= ( double  a)
inline

◆ operator*=() [3/5]

Hep2Vector& CLHEP::Hep2Vector::operator*= ( double  a)
inline

◆ operator*=() [4/5]

Hep2Vector& CLHEP::Hep2Vector::operator*= ( double  a)
inline

◆ operator*=() [5/5]

Hep2Vector& CLHEP::Hep2Vector::operator*= ( double  a)
inline

◆ operator+=() [1/5]

Hep2Vector& CLHEP::Hep2Vector::operator+= ( const Hep2Vector p)
inline

◆ operator+=() [2/5]

Hep2Vector& CLHEP::Hep2Vector::operator+= ( const Hep2Vector p)
inline

◆ operator+=() [3/5]

Hep2Vector& CLHEP::Hep2Vector::operator+= ( const Hep2Vector p)
inline

◆ operator+=() [4/5]

Hep2Vector& CLHEP::Hep2Vector::operator+= ( const Hep2Vector p)
inline

◆ operator+=() [5/5]

Hep2Vector& CLHEP::Hep2Vector::operator+= ( const Hep2Vector p)
inline

◆ operator-() [1/5]

Hep2Vector CLHEP::Hep2Vector::operator- ( ) const
inline

◆ operator-() [2/5]

Hep2Vector CLHEP::Hep2Vector::operator- ( ) const
inline

◆ operator-() [3/5]

Hep2Vector CLHEP::Hep2Vector::operator- ( ) const
inline

◆ operator-() [4/5]

Hep2Vector CLHEP::Hep2Vector::operator- ( ) const
inline

◆ operator-() [5/5]

Hep2Vector CLHEP::Hep2Vector::operator- ( ) const
inline

◆ operator-=() [1/5]

Hep2Vector& CLHEP::Hep2Vector::operator-= ( const Hep2Vector p)
inline

◆ operator-=() [2/5]

Hep2Vector& CLHEP::Hep2Vector::operator-= ( const Hep2Vector p)
inline

◆ operator-=() [3/5]

Hep2Vector& CLHEP::Hep2Vector::operator-= ( const Hep2Vector p)
inline

◆ operator-=() [4/5]

Hep2Vector& CLHEP::Hep2Vector::operator-= ( const Hep2Vector p)
inline

◆ operator-=() [5/5]

Hep2Vector& CLHEP::Hep2Vector::operator-= ( const Hep2Vector p)
inline

◆ operator<() [1/5]

bool CLHEP::Hep2Vector::operator< ( const Hep2Vector v) const

◆ operator<() [2/5]

bool CLHEP::Hep2Vector::operator< ( const Hep2Vector v) const

◆ operator<() [3/5]

bool CLHEP::Hep2Vector::operator< ( const Hep2Vector v) const

Definition at line 107 of file TwoVector.cc.

References compare().

◆ operator<() [4/5]

bool CLHEP::Hep2Vector::operator< ( const Hep2Vector v) const

◆ operator<() [5/5]

bool CLHEP::Hep2Vector::operator< ( const Hep2Vector v) const

◆ operator<=() [1/5]

bool CLHEP::Hep2Vector::operator<= ( const Hep2Vector v) const

◆ operator<=() [2/5]

bool CLHEP::Hep2Vector::operator<= ( const Hep2Vector v) const

◆ operator<=() [3/5]

bool CLHEP::Hep2Vector::operator<= ( const Hep2Vector v) const

◆ operator<=() [4/5]

bool CLHEP::Hep2Vector::operator<= ( const Hep2Vector v) const

Definition at line 113 of file TwoVector.cc.

References compare().

◆ operator<=() [5/5]

bool CLHEP::Hep2Vector::operator<= ( const Hep2Vector v) const

◆ operator=() [1/5]

Hep2Vector& CLHEP::Hep2Vector::operator= ( const Hep2Vector p)
inline

◆ operator=() [2/5]

Hep2Vector& CLHEP::Hep2Vector::operator= ( const Hep2Vector p)
inline

◆ operator=() [3/5]

Hep2Vector& CLHEP::Hep2Vector::operator= ( const Hep2Vector p)
inline

◆ operator=() [4/5]

Hep2Vector& CLHEP::Hep2Vector::operator= ( const Hep2Vector p)
inline

◆ operator=() [5/5]

Hep2Vector& CLHEP::Hep2Vector::operator= ( const Hep2Vector p)
inline

◆ operator==() [1/5]

bool CLHEP::Hep2Vector::operator== ( const Hep2Vector v) const
inline

◆ operator==() [2/5]

bool CLHEP::Hep2Vector::operator== ( const Hep2Vector v) const
inline

◆ operator==() [3/5]

bool CLHEP::Hep2Vector::operator== ( const Hep2Vector v) const
inline

◆ operator==() [4/5]

bool CLHEP::Hep2Vector::operator== ( const Hep2Vector v) const
inline

◆ operator==() [5/5]

bool CLHEP::Hep2Vector::operator== ( const Hep2Vector v) const
inline

◆ operator>() [1/5]

bool CLHEP::Hep2Vector::operator> ( const Hep2Vector v) const

◆ operator>() [2/5]

bool CLHEP::Hep2Vector::operator> ( const Hep2Vector v) const

◆ operator>() [3/5]

bool CLHEP::Hep2Vector::operator> ( const Hep2Vector v) const

◆ operator>() [4/5]

bool CLHEP::Hep2Vector::operator> ( const Hep2Vector v) const

Definition at line 104 of file TwoVector.cc.

References compare().

◆ operator>() [5/5]

bool CLHEP::Hep2Vector::operator> ( const Hep2Vector v) const

◆ operator>=() [1/5]

bool CLHEP::Hep2Vector::operator>= ( const Hep2Vector v) const

◆ operator>=() [2/5]

bool CLHEP::Hep2Vector::operator>= ( const Hep2Vector v) const

◆ operator>=() [3/5]

bool CLHEP::Hep2Vector::operator>= ( const Hep2Vector v) const

◆ operator>=() [4/5]

bool CLHEP::Hep2Vector::operator>= ( const Hep2Vector v) const

◆ operator>=() [5/5]

bool CLHEP::Hep2Vector::operator>= ( const Hep2Vector v) const

Definition at line 110 of file TwoVector.cc.

References compare().

◆ operator[]() [1/10]

double CLHEP::Hep2Vector::operator[] ( int  i) const
inline

◆ operator[]() [2/10]

double CLHEP::Hep2Vector::operator[] ( int  i) const
inline

◆ operator[]() [3/10]

double CLHEP::Hep2Vector::operator[] ( int  i) const
inline

◆ operator[]() [4/10]

double CLHEP::Hep2Vector::operator[] ( int  i) const
inline

◆ operator[]() [5/10]

double CLHEP::Hep2Vector::operator[] ( int  i) const
inline

◆ operator[]() [6/10]

double& CLHEP::Hep2Vector::operator[] ( int  i)
inline

◆ operator[]() [7/10]

double& CLHEP::Hep2Vector::operator[] ( int  i)
inline

◆ operator[]() [8/10]

double& CLHEP::Hep2Vector::operator[] ( int  i)
inline

◆ operator[]() [9/10]

double& CLHEP::Hep2Vector::operator[] ( int  i)
inline

◆ operator[]() [10/10]

double& CLHEP::Hep2Vector::operator[] ( int  i)
inline

◆ orthogonal() [1/5]

Hep2Vector CLHEP::Hep2Vector::orthogonal ( ) const
inline

◆ orthogonal() [2/5]

Hep2Vector CLHEP::Hep2Vector::orthogonal ( ) const
inline

◆ orthogonal() [3/5]

Hep2Vector CLHEP::Hep2Vector::orthogonal ( ) const
inline

◆ orthogonal() [4/5]

Hep2Vector CLHEP::Hep2Vector::orthogonal ( ) const
inline

◆ orthogonal() [5/5]

Hep2Vector CLHEP::Hep2Vector::orthogonal ( ) const
inline

◆ phi() [1/5]

double CLHEP::Hep2Vector::phi ( ) const
inline

◆ phi() [2/5]

double CLHEP::Hep2Vector::phi ( ) const
inline

◆ phi() [3/5]

double CLHEP::Hep2Vector::phi ( ) const
inline

◆ phi() [4/5]

double CLHEP::Hep2Vector::phi ( ) const
inline

◆ phi() [5/5]

double CLHEP::Hep2Vector::phi ( ) const
inline

◆ r() [1/5]

double CLHEP::Hep2Vector::r ( ) const
inline

◆ r() [2/5]

double CLHEP::Hep2Vector::r ( ) const
inline

◆ r() [3/5]

double CLHEP::Hep2Vector::r ( ) const
inline

◆ r() [4/5]

double CLHEP::Hep2Vector::r ( ) const
inline

◆ r() [5/5]

double CLHEP::Hep2Vector::r ( ) const
inline

◆ rotate() [1/5]

void CLHEP::Hep2Vector::rotate ( double  )

◆ rotate() [2/5]

void CLHEP::Hep2Vector::rotate ( double  )

◆ rotate() [3/5]

void CLHEP::Hep2Vector::rotate ( double  )

◆ rotate() [4/5]

void CLHEP::Hep2Vector::rotate ( double  angler)

Definition at line 55 of file TwoVector.cc.

◆ rotate() [5/5]

void CLHEP::Hep2Vector::rotate ( double  )

◆ set() [1/5]

void CLHEP::Hep2Vector::set ( double  x,
double  y 
)
inline

◆ set() [2/5]

void CLHEP::Hep2Vector::set ( double  x,
double  y 
)
inline

◆ set() [3/5]

void CLHEP::Hep2Vector::set ( double  x,
double  y 
)
inline

Referenced by CLHEP::operator>>().

◆ set() [4/5]

void CLHEP::Hep2Vector::set ( double  x,
double  y 
)
inline

◆ set() [5/5]

void CLHEP::Hep2Vector::set ( double  x,
double  y 
)
inline

◆ setMag() [1/5]

void CLHEP::Hep2Vector::setMag ( double  r)
inline

◆ setMag() [2/5]

void CLHEP::Hep2Vector::setMag ( double  r)
inline

◆ setMag() [3/5]

void CLHEP::Hep2Vector::setMag ( double  r)
inline

◆ setMag() [4/5]

void CLHEP::Hep2Vector::setMag ( double  r)
inline

◆ setMag() [5/5]

void CLHEP::Hep2Vector::setMag ( double  r)
inline

◆ setPhi() [1/5]

void CLHEP::Hep2Vector::setPhi ( double  phi)
inline

◆ setPhi() [2/5]

void CLHEP::Hep2Vector::setPhi ( double  phi)
inline

◆ setPhi() [3/5]

void CLHEP::Hep2Vector::setPhi ( double  phi)
inline

◆ setPhi() [4/5]

void CLHEP::Hep2Vector::setPhi ( double  phi)
inline

◆ setPhi() [5/5]

void CLHEP::Hep2Vector::setPhi ( double  phi)
inline

◆ setPolar() [1/5]

void CLHEP::Hep2Vector::setPolar ( double  r,
double  phi 
)
inline

◆ setPolar() [2/5]

void CLHEP::Hep2Vector::setPolar ( double  r,
double  phi 
)
inline

◆ setPolar() [3/5]

void CLHEP::Hep2Vector::setPolar ( double  r,
double  phi 
)
inline

◆ setPolar() [4/5]

void CLHEP::Hep2Vector::setPolar ( double  r,
double  phi 
)
inline

◆ setPolar() [5/5]

void CLHEP::Hep2Vector::setPolar ( double  r,
double  phi 
)
inline

◆ setR() [1/5]

void CLHEP::Hep2Vector::setR ( double  r)
inline

◆ setR() [2/5]

void CLHEP::Hep2Vector::setR ( double  r)
inline

◆ setR() [3/5]

void CLHEP::Hep2Vector::setR ( double  r)
inline

◆ setR() [4/5]

void CLHEP::Hep2Vector::setR ( double  r)
inline

◆ setR() [5/5]

void CLHEP::Hep2Vector::setR ( double  r)
inline

◆ setTolerance() [1/5]

static double CLHEP::Hep2Vector::setTolerance ( double  tol)
static

◆ setTolerance() [2/5]

static double CLHEP::Hep2Vector::setTolerance ( double  tol)
static

◆ setTolerance() [3/5]

static double CLHEP::Hep2Vector::setTolerance ( double  tol)
static

◆ setTolerance() [4/5]

static double CLHEP::Hep2Vector::setTolerance ( double  tol)
static

◆ setTolerance() [5/5]

double CLHEP::Hep2Vector::setTolerance ( double  tol)
static

Definition at line 22 of file TwoVector.cc.

◆ setX() [1/5]

void CLHEP::Hep2Vector::setX ( double  x)
inline

◆ setX() [2/5]

void CLHEP::Hep2Vector::setX ( double  x)
inline

◆ setX() [3/5]

void CLHEP::Hep2Vector::setX ( double  x)
inline

◆ setX() [4/5]

void CLHEP::Hep2Vector::setX ( double  x)
inline

◆ setX() [5/5]

void CLHEP::Hep2Vector::setX ( double  x)
inline

◆ setY() [1/5]

void CLHEP::Hep2Vector::setY ( double  y)
inline

◆ setY() [2/5]

void CLHEP::Hep2Vector::setY ( double  y)
inline

◆ setY() [3/5]

void CLHEP::Hep2Vector::setY ( double  y)
inline

◆ setY() [4/5]

void CLHEP::Hep2Vector::setY ( double  y)
inline

◆ setY() [5/5]

void CLHEP::Hep2Vector::setY ( double  y)
inline

◆ unit() [1/5]

Hep2Vector CLHEP::Hep2Vector::unit ( ) const
inline

◆ unit() [2/5]

Hep2Vector CLHEP::Hep2Vector::unit ( ) const
inline

◆ unit() [3/5]

Hep2Vector CLHEP::Hep2Vector::unit ( ) const
inline

◆ unit() [4/5]

Hep2Vector CLHEP::Hep2Vector::unit ( ) const
inline

◆ unit() [5/5]

Hep2Vector CLHEP::Hep2Vector::unit ( ) const
inline

◆ x() [1/5]

double CLHEP::Hep2Vector::x ( ) const
inline

◆ x() [2/5]

double CLHEP::Hep2Vector::x ( ) const
inline

◆ x() [3/5]

double CLHEP::Hep2Vector::x ( ) const
inline

◆ x() [4/5]

double CLHEP::Hep2Vector::x ( ) const
inline

◆ x() [5/5]

double CLHEP::Hep2Vector::x ( ) const
inline

◆ y() [1/5]

double CLHEP::Hep2Vector::y ( ) const
inline

◆ y() [2/5]

double CLHEP::Hep2Vector::y ( ) const
inline

◆ y() [3/5]

double CLHEP::Hep2Vector::y ( ) const
inline

◆ y() [4/5]

double CLHEP::Hep2Vector::y ( ) const
inline

◆ y() [5/5]

double CLHEP::Hep2Vector::y ( ) const
inline

Friends And Related Function Documentation

◆ operator* [1/15]

double operator* ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator* [2/15]

double operator* ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator* [3/15]

double operator* ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator* [4/15]

double operator* ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator* [5/15]

double operator* ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator* [6/15]

Hep2Vector operator* ( const Hep2Vector p,
double  a 
)
friend

◆ operator* [7/15]

Hep2Vector operator* ( const Hep2Vector p,
double  a 
)
friend

◆ operator* [8/15]

Hep2Vector operator* ( const Hep2Vector p,
double  a 
)
friend

◆ operator* [9/15]

Hep2Vector operator* ( const Hep2Vector p,
double  a 
)
friend

◆ operator* [10/15]

Hep2Vector operator* ( const Hep2Vector p,
double  a 
)
friend

◆ operator* [11/15]

Hep2Vector operator* ( double  a,
const Hep2Vector p 
)
friend

◆ operator* [12/15]

Hep2Vector operator* ( double  a,
const Hep2Vector p 
)
friend

◆ operator* [13/15]

Hep2Vector operator* ( double  a,
const Hep2Vector p 
)
friend

◆ operator* [14/15]

Hep2Vector operator* ( double  a,
const Hep2Vector p 
)
friend

◆ operator* [15/15]

Hep2Vector operator* ( double  a,
const Hep2Vector p 
)
friend

◆ operator+ [1/5]

Hep2Vector operator+ ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator+ [2/5]

Hep2Vector operator+ ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator+ [3/5]

Hep2Vector operator+ ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator+ [4/5]

Hep2Vector operator+ ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator+ [5/5]

Hep2Vector operator+ ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator- [1/5]

Hep2Vector operator- ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator- [2/5]

Hep2Vector operator- ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator- [3/5]

Hep2Vector operator- ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator- [4/5]

Hep2Vector operator- ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator- [5/5]

Hep2Vector operator- ( const Hep2Vector a,
const Hep2Vector b 
)
friend

◆ operator/ [1/5]

Hep2Vector operator/ ( const Hep2Vector p,
double  a 
)
friend

Definition at line 63 of file TwoVector.cc.

◆ operator/ [2/5]

Hep2Vector operator/ ( const Hep2Vector p,
double  a 
)
friend

Definition at line 63 of file TwoVector.cc.

◆ operator/ [3/5]

Hep2Vector operator/ ( const Hep2Vector p,
double  a 
)
friend

Definition at line 63 of file TwoVector.cc.

◆ operator/ [4/5]

Hep2Vector operator/ ( const Hep2Vector p,
double  a 
)
friend

Definition at line 63 of file TwoVector.cc.

◆ operator/ [5/5]

Hep2Vector operator/ ( const Hep2Vector p,
double  a 
)
friend

Definition at line 63 of file TwoVector.cc.

◆ operator<< [1/5]

std::ostream& operator<< ( std::ostream &  ,
const Hep2Vector  
)
friend

Definition at line 70 of file TwoVector.cc.

◆ operator<< [2/5]

std::ostream& operator<< ( std::ostream &  ,
const Hep2Vector  
)
friend

Definition at line 70 of file TwoVector.cc.

◆ operator<< [3/5]

std::ostream& operator<< ( std::ostream &  ,
const Hep2Vector  
)
friend

Definition at line 70 of file TwoVector.cc.

◆ operator<< [4/5]

std::ostream& operator<< ( std::ostream &  ,
const Hep2Vector  
)
friend

Definition at line 70 of file TwoVector.cc.

◆ operator<< [5/5]

std::ostream& operator<< ( std::ostream &  ,
const Hep2Vector  
)
friend

Definition at line 70 of file TwoVector.cc.


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