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

Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Related Functions | List of all members
HepGeom::BasicVector3D< T > Class Template Reference

#include <BasicVector3D.h>

Inheritance diagram for HepGeom::BasicVector3D< T >:
HepGeom::Normal3D< T > HepGeom::Normal3D< T > HepGeom::Point3D< T > HepGeom::Point3D< T > HepGeom::Vector3D< T > HepGeom::Vector3D< T >

Public Types

enum  {
  X = 0, Y = 1, Z = 2, NUM_COORDINATES = 3,
  SIZE = NUM_COORDINATES
}
 
enum  {
  X = 0, Y = 1, Z = 2, NUM_COORDINATES = 3,
  SIZE = NUM_COORDINATES
}
 

Public Member Functions

 BasicVector3D (T x1, T y1, T z1)
 
 BasicVector3D (const BasicVector3D< float > &v)
 
virtual ~BasicVector3D ()
 
 operator T* ()
 
 operator const T * () const
 
 operator CLHEP::Hep3Vector () const
 
BasicVector3D< T > & operator= (const BasicVector3D< T > &v)
 
BasicVector3D< T > & operator+= (const BasicVector3D< T > &v)
 
BasicVector3D< T > & operator-= (const BasicVector3D< T > &v)
 
BasicVector3D< T > & operator*= (double a)
 
BasicVector3D< T > & operator/= (double a)
 
operator() (int i) const
 
operator[] (int i) const
 
T & operator() (int i)
 
T & operator[] (int i)
 
x () const
 
y () const
 
z () const
 
void setX (T a)
 
void setY (T a)
 
void setZ (T a)
 
void set (T x1, T y1, T z1)
 
perp2 () const
 
perp () const
 
rho () const
 
void setPerp (T rh)
 
mag2 () const
 
mag () const
 
r () const
 
phi () const
 
theta () const
 
cosTheta () const
 
getR () const
 
getPhi () const
 
getTheta () const
 
void setMag (T ma)
 
void setR (T ma)
 
void setPhi (T ph)
 
void setTheta (T th)
 
pseudoRapidity () const
 
eta () const
 
getEta () const
 
void setEta (T a)
 
dot (const BasicVector3D< T > &v) const
 
BasicVector3D< T > cross (const BasicVector3D< T > &v) const
 
perp2 (const BasicVector3D< T > &v) const
 
perp (const BasicVector3D< T > &v) const
 
angle (const BasicVector3D< T > &v) const
 
BasicVector3D< T > unit () const
 
BasicVector3D< T > orthogonal () const
 
BasicVector3D< T > & rotateX (T a)
 
BasicVector3D< T > & rotateY (T a)
 
BasicVector3D< T > & rotateZ (T a)
 
BasicVector3D< T > & rotate (T a, const BasicVector3D< T > &v)
 
 BasicVector3D (T x1, T y1, T z1)
 
 BasicVector3D (const BasicVector3D< float > &v)
 
virtual ~BasicVector3D ()
 
 operator T* ()
 
 operator const T * () const
 
 operator CLHEP::Hep3Vector () const
 
BasicVector3D< T > & operator= (const BasicVector3D< T > &v)
 
BasicVector3D< T > & operator+= (const BasicVector3D< T > &v)
 
BasicVector3D< T > & operator-= (const BasicVector3D< T > &v)
 
BasicVector3D< T > & operator*= (double a)
 
BasicVector3D< T > & operator/= (double a)
 
operator() (int i) const
 
operator[] (int i) const
 
T & operator() (int i)
 
T & operator[] (int i)
 
x () const
 
y () const
 
z () const
 
void setX (T a)
 
void setY (T a)
 
void setZ (T a)
 
void set (T x1, T y1, T z1)
 
perp2 () const
 
perp () const
 
rho () const
 
void setPerp (T rh)
 
mag2 () const
 
mag () const
 
r () const
 
phi () const
 
theta () const
 
cosTheta () const
 
getR () const
 
getPhi () const
 
getTheta () const
 
void setMag (T ma)
 
void setR (T ma)
 
void setPhi (T ph)
 
void setTheta (T th)
 
pseudoRapidity () const
 
eta () const
 
getEta () const
 
void setEta (T a)
 
dot (const BasicVector3D< T > &v) const
 
BasicVector3D< T > cross (const BasicVector3D< T > &v) const
 
perp2 (const BasicVector3D< T > &v) const
 
perp (const BasicVector3D< T > &v) const
 
angle (const BasicVector3D< T > &v) const
 
BasicVector3D< T > unit () const
 
BasicVector3D< T > orthogonal () const
 
BasicVector3D< T > & rotateX (T a)
 
BasicVector3D< T > & rotateY (T a)
 
BasicVector3D< T > & rotateZ (T a)
 
BasicVector3D< T > & rotate (T a, const BasicVector3D< T > &v)
 
template<>
float pseudoRapidity () const
 
template<>
void setEta (float a)
 
template<>
float angle (const BasicVector3D< float > &v) const
 
template<>
BasicVector3D< float > & rotateX (float a)
 
template<>
BasicVector3D< float > & rotateY (float a)
 
template<>
BasicVector3D< float > & rotateZ (float a)
 
template<>
BasicVector3D< float > & rotate (float a, const BasicVector3D< float > &v)
 
template<>
double pseudoRapidity () const
 
template<>
void setEta (double a)
 
template<>
double angle (const BasicVector3D< double > &v) const
 
template<>
BasicVector3D< double > & rotateX (double a)
 
template<>
BasicVector3D< double > & rotateY (double a)
 
template<>
BasicVector3D< double > & rotateZ (double a)
 
template<>
BasicVector3D< double > & rotate (double a, const BasicVector3D< double > &v)
 

Protected Member Functions

 BasicVector3D ()
 
 BasicVector3D ()
 

Protected Attributes

v_ [3]
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &, const BasicVector3D< float > &)
 
std::istream & operator>> (std::istream &, BasicVector3D< float > &)
 
BasicVector3D< float > operator+ (const BasicVector3D< float > &v)
 
BasicVector3D< float > operator+ (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
BasicVector3D< float > operator- (const BasicVector3D< float > &v)
 
BasicVector3D< float > operator- (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
BasicVector3D< float > operator* (const BasicVector3D< float > &v, double a)
 
float operator* (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
BasicVector3D< float > operator* (double a, const BasicVector3D< float > &v)
 
BasicVector3D< float > operator/ (const BasicVector3D< float > &v, double a)
 
bool operator== (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
bool operator!= (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
std::ostream & operator<< (std::ostream &, const BasicVector3D< double > &)
 
std::istream & operator>> (std::istream &, BasicVector3D< double > &)
 
BasicVector3D< doubleoperator+ (const BasicVector3D< double > &v)
 
BasicVector3D< doubleoperator+ (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
BasicVector3D< doubleoperator- (const BasicVector3D< double > &v)
 
BasicVector3D< doubleoperator- (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
BasicVector3D< doubleoperator* (const BasicVector3D< double > &v, double a)
 
double operator* (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
BasicVector3D< doubleoperator* (double a, const BasicVector3D< double > &v)
 
BasicVector3D< doubleoperator/ (const BasicVector3D< double > &v, double a)
 
bool operator== (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
bool operator!= (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
std::ostream & operator<< (std::ostream &, const BasicVector3D< float > &)
 
std::istream & operator>> (std::istream &, BasicVector3D< float > &)
 
BasicVector3D< float > operator+ (const BasicVector3D< float > &v)
 
BasicVector3D< float > operator+ (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
BasicVector3D< float > operator- (const BasicVector3D< float > &v)
 
BasicVector3D< float > operator- (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
BasicVector3D< float > operator* (const BasicVector3D< float > &v, double a)
 
float operator* (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
BasicVector3D< float > operator* (double a, const BasicVector3D< float > &v)
 
BasicVector3D< float > operator/ (const BasicVector3D< float > &v, double a)
 
bool operator== (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
bool operator!= (const BasicVector3D< float > &a, const BasicVector3D< float > &b)
 
std::ostream & operator<< (std::ostream &, const BasicVector3D< double > &)
 
std::istream & operator>> (std::istream &, BasicVector3D< double > &)
 
BasicVector3D< doubleoperator+ (const BasicVector3D< double > &v)
 
BasicVector3D< doubleoperator+ (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
BasicVector3D< doubleoperator- (const BasicVector3D< double > &v)
 
BasicVector3D< doubleoperator- (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
BasicVector3D< doubleoperator* (const BasicVector3D< double > &v, double a)
 
double operator* (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
BasicVector3D< doubleoperator* (double a, const BasicVector3D< double > &v)
 
BasicVector3D< doubleoperator/ (const BasicVector3D< double > &v, double a)
 
bool operator== (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 
bool operator!= (const BasicVector3D< double > &a, const BasicVector3D< double > &b)
 

Detailed Description

template<class T>
class HepGeom::BasicVector3D< T >

Base class for Point3D<T>, Vector3D<T> and Normal3D<T>. It defines only common functionality for those classes and should not be used as separate class.

Author
Evgeni Chernyaev Evgue.nosp@m.ni.T.nosp@m.chern.nosp@m.iaev.nosp@m.@cern.nosp@m..ch

Definition at line 28 of file CLHEP/Geometry/BasicVector3D.h.

Member Enumeration Documentation

◆ anonymous enum

template<class T>
anonymous enum

Safe indexing of the coordinates when using with matrices, arrays, etc.

Enumerator

index for x-component

index for y-component

index for z-component

NUM_COORDINATES 

number of components

SIZE 

number of components

Definition at line 42 of file Geometry/BasicVector3D.h.

◆ anonymous enum

template<class T>
anonymous enum

Safe indexing of the coordinates when using with matrices, arrays, etc.

Enumerator

index for x-component

index for y-component

index for z-component

NUM_COORDINATES 

number of components

SIZE 

number of components

Definition at line 42 of file CLHEP/Geometry/BasicVector3D.h.

Constructor & Destructor Documentation

◆ BasicVector3D() [1/6]

template<class T>
HepGeom::BasicVector3D< T >::BasicVector3D ( )
inlineprotected

Default constructor. It is protected - this class should not be instantiated directly.

Definition at line 36 of file CLHEP/Geometry/BasicVector3D.h.

◆ BasicVector3D() [2/6]

template<class T>
HepGeom::BasicVector3D< T >::BasicVector3D ( x1,
y1,
z1 
)
inline

Constructor from three numbers.

Definition at line 52 of file CLHEP/Geometry/BasicVector3D.h.

◆ BasicVector3D() [3/6]

template<class T>
HepGeom::BasicVector3D< T >::BasicVector3D ( const BasicVector3D< float > &  v)
inline

Copy constructor. Note: BasicVector3D<double> has constructors from BasicVector3D<double> (provided by compiler) and from BasicVector3D<float> (defined in this file); BasicVector3D<float> has only the last one.

Definition at line 61 of file CLHEP/Geometry/BasicVector3D.h.

◆ ~BasicVector3D() [1/2]

template<class T>
virtual HepGeom::BasicVector3D< T >::~BasicVector3D ( )
inlinevirtual

Destructor.

Definition at line 67 of file CLHEP/Geometry/BasicVector3D.h.

◆ BasicVector3D() [4/6]

template<class T>
HepGeom::BasicVector3D< T >::BasicVector3D ( )
inlineprotected

Default constructor. It is protected - this class should not be instantiated directly.

Definition at line 36 of file Geometry/BasicVector3D.h.

◆ BasicVector3D() [5/6]

template<class T>
HepGeom::BasicVector3D< T >::BasicVector3D ( x1,
y1,
z1 
)
inline

Constructor from three numbers.

Definition at line 52 of file Geometry/BasicVector3D.h.

◆ BasicVector3D() [6/6]

template<class T>
HepGeom::BasicVector3D< T >::BasicVector3D ( const BasicVector3D< float > &  v)
inline

Copy constructor. Note: BasicVector3D<double> has constructors from BasicVector3D<double> (provided by compiler) and from BasicVector3D<float> (defined in this file); BasicVector3D<float> has only the last one.

Definition at line 61 of file Geometry/BasicVector3D.h.

◆ ~BasicVector3D() [2/2]

template<class T>
virtual HepGeom::BasicVector3D< T >::~BasicVector3D ( )
inlinevirtual

Destructor.

Definition at line 67 of file Geometry/BasicVector3D.h.

Member Function Documentation

◆ angle() [1/4]

template<>
float HepGeom::BasicVector3D< float >::angle ( const BasicVector3D< float > &  v) const

Definition at line 37 of file BasicVector3D.cc.

◆ angle() [2/4]

template<>
double HepGeom::BasicVector3D< double >::angle ( const BasicVector3D< double > &  v) const

Definition at line 193 of file BasicVector3D.cc.

◆ angle() [3/4]

template<class T>
T HepGeom::BasicVector3D< T >::angle ( const BasicVector3D< T > &  v) const

Returns angle w.r.t. another vector.

◆ angle() [4/4]

template<class T>
T HepGeom::BasicVector3D< T >::angle ( const BasicVector3D< T > &  v) const

Returns angle w.r.t. another vector.

Referenced by HepGeom::BasicVector3D< float >::perp().

◆ cosTheta() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::cosTheta ( ) const
inline

Gets cosine of polar angle.

Definition at line 212 of file CLHEP/Geometry/BasicVector3D.h.

◆ cosTheta() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::cosTheta ( ) const
inline

Gets cosine of polar angle.

Definition at line 212 of file Geometry/BasicVector3D.h.

◆ cross() [1/2]

template<class T>
BasicVector3D<T> HepGeom::BasicVector3D< T >::cross ( const BasicVector3D< T > &  v) const
inline

Vector product.

Definition at line 276 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::Transform3D::Transform3D().

◆ cross() [2/2]

template<class T>
BasicVector3D<T> HepGeom::BasicVector3D< T >::cross ( const BasicVector3D< T > &  v) const
inline

Vector product.

Definition at line 276 of file Geometry/BasicVector3D.h.

◆ dot() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::dot ( const BasicVector3D< T > &  v) const
inline

Scalar product.

Definition at line 270 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::operator*().

◆ dot() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::dot ( const BasicVector3D< T > &  v) const
inline

Scalar product.

Definition at line 270 of file Geometry/BasicVector3D.h.

◆ eta() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::eta ( ) const
inline

Gets pseudo-rapidity.

Definition at line 255 of file CLHEP/Geometry/BasicVector3D.h.

◆ eta() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::eta ( ) const
inline

Gets pseudo-rapidity.

Definition at line 255 of file Geometry/BasicVector3D.h.

◆ getEta() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::getEta ( ) const
inline

Gets pseudo-rapidity.

Definition at line 258 of file CLHEP/Geometry/BasicVector3D.h.

◆ getEta() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::getEta ( ) const
inline

Gets pseudo-rapidity.

Definition at line 258 of file Geometry/BasicVector3D.h.

◆ getPhi() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::getPhi ( ) const
inline

Gets phi-component in spherical coordinate system

Definition at line 219 of file Geometry/BasicVector3D.h.

◆ getPhi() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::getPhi ( ) const
inline

Gets phi-component in spherical coordinate system

Definition at line 219 of file CLHEP/Geometry/BasicVector3D.h.

◆ getR() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::getR ( ) const
inline

Gets r-component in spherical coordinate system

Definition at line 216 of file Geometry/BasicVector3D.h.

◆ getR() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::getR ( ) const
inline

Gets r-component in spherical coordinate system

Definition at line 216 of file CLHEP/Geometry/BasicVector3D.h.

◆ getTheta() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::getTheta ( ) const
inline

Gets theta-component in spherical coordinate system

Definition at line 222 of file CLHEP/Geometry/BasicVector3D.h.

◆ getTheta() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::getTheta ( ) const
inline

Gets theta-component in spherical coordinate system

Definition at line 222 of file Geometry/BasicVector3D.h.

◆ mag() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::mag ( ) const
inline

Gets magnitude of the vector.

Definition at line 196 of file Geometry/BasicVector3D.h.

◆ mag() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::mag ( ) const
inline

◆ mag2() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::mag2 ( ) const
inline

Gets magnitude squared of the vector.

Definition at line 193 of file Geometry/BasicVector3D.h.

◆ mag2() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::mag2 ( ) const
inline

◆ operator CLHEP::Hep3Vector() [1/2]

template<class T>
HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector ( ) const
inline

Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.

Definition at line 86 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator CLHEP::Hep3Vector() [2/2]

template<class T>
HepGeom::BasicVector3D< T >::operator CLHEP::Hep3Vector ( ) const
inline

Conversion (cast) to CLHEP::Hep3Vector. This operator is needed only for backward compatibility and in principle should not exit.

Definition at line 86 of file Geometry/BasicVector3D.h.

◆ operator const T *() [1/2]

template<class T>
HepGeom::BasicVector3D< T >::operator const T * ( ) const
inline

Conversion (cast) to ordinary const array.

Definition at line 79 of file CLHEP/Geometry/BasicVector3D.h.

References HepGeom::BasicVector3D< T >::v_.

◆ operator const T *() [2/2]

template<class T>
HepGeom::BasicVector3D< T >::operator const T * ( ) const
inline

Conversion (cast) to ordinary const array.

Definition at line 79 of file Geometry/BasicVector3D.h.

References HepGeom::BasicVector3D< T >::v_.

◆ operator T*() [1/2]

template<class T>
HepGeom::BasicVector3D< T >::operator T* ( )
inline

Conversion (cast) to ordinary array.

Definition at line 75 of file CLHEP/Geometry/BasicVector3D.h.

References HepGeom::BasicVector3D< T >::v_.

◆ operator T*() [2/2]

template<class T>
HepGeom::BasicVector3D< T >::operator T* ( )
inline

Conversion (cast) to ordinary array.

Definition at line 75 of file Geometry/BasicVector3D.h.

References HepGeom::BasicVector3D< T >::v_.

◆ operator()() [1/4]

template<class T>
T HepGeom::BasicVector3D< T >::operator() ( int  i) const
inline

Gets components by index.

Definition at line 124 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator()() [2/4]

template<class T>
T HepGeom::BasicVector3D< T >::operator() ( int  i) const
inline

Gets components by index.

Definition at line 124 of file Geometry/BasicVector3D.h.

◆ operator()() [3/4]

template<class T>
T& HepGeom::BasicVector3D< T >::operator() ( int  i)
inline

Sets components by index.

Definition at line 131 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator()() [4/4]

template<class T>
T& HepGeom::BasicVector3D< T >::operator() ( int  i)
inline

Sets components by index.

Definition at line 131 of file Geometry/BasicVector3D.h.

◆ operator*=() [1/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator*= ( double  a)
inline

Multiplication by scalar.

Definition at line 109 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*=() [2/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator*= ( double  a)
inline

Multiplication by scalar.

Definition at line 109 of file Geometry/BasicVector3D.h.

◆ operator+=() [1/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator+= ( const BasicVector3D< T > &  v)
inline

Addition.

Definition at line 99 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator+=() [2/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator+= ( const BasicVector3D< T > &  v)
inline

Addition.

Definition at line 99 of file Geometry/BasicVector3D.h.

◆ operator-=() [1/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator-= ( const BasicVector3D< T > &  v)
inline

Subtraction.

Definition at line 104 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator-=() [2/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator-= ( const BasicVector3D< T > &  v)
inline

Subtraction.

Definition at line 104 of file Geometry/BasicVector3D.h.

◆ operator/=() [1/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator/= ( double  a)
inline

Division by scalar.

Definition at line 114 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator/=() [2/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator/= ( double  a)
inline

Division by scalar.

Definition at line 114 of file Geometry/BasicVector3D.h.

◆ operator=() [1/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator= ( const BasicVector3D< T > &  v)
inline

Assignment.

Definition at line 94 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator=() [2/2]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::operator= ( const BasicVector3D< T > &  v)
inline

Assignment.

Definition at line 94 of file Geometry/BasicVector3D.h.

◆ operator[]() [1/4]

template<class T>
T HepGeom::BasicVector3D< T >::operator[] ( int  i) const
inline

Gets components by index.

Definition at line 127 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator[]() [2/4]

template<class T>
T HepGeom::BasicVector3D< T >::operator[] ( int  i) const
inline

Gets components by index.

Definition at line 127 of file Geometry/BasicVector3D.h.

◆ operator[]() [3/4]

template<class T>
T& HepGeom::BasicVector3D< T >::operator[] ( int  i)
inline

Sets components by index.

Definition at line 134 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator[]() [4/4]

template<class T>
T& HepGeom::BasicVector3D< T >::operator[] ( int  i)
inline

Sets components by index.

Definition at line 134 of file Geometry/BasicVector3D.h.

◆ orthogonal() [1/2]

template<class T>
BasicVector3D<T> HepGeom::BasicVector3D< T >::orthogonal ( ) const
inline

Returns orthogonal vector.

Definition at line 313 of file CLHEP/Geometry/BasicVector3D.h.

◆ orthogonal() [2/2]

template<class T>
BasicVector3D<T> HepGeom::BasicVector3D< T >::orthogonal ( ) const
inline

Returns orthogonal vector.

Definition at line 313 of file Geometry/BasicVector3D.h.

◆ perp() [1/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp ( ) const
inline

Gets transverse component.

Definition at line 173 of file Geometry/BasicVector3D.h.

◆ perp() [2/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp ( ) const
inline

◆ perp() [3/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp ( const BasicVector3D< T > &  v) const
inline

Returns transverse component w.r.t. given axis.

Definition at line 291 of file CLHEP/Geometry/BasicVector3D.h.

◆ perp() [4/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp ( const BasicVector3D< T > &  v) const
inline

Returns transverse component w.r.t. given axis.

Definition at line 291 of file Geometry/BasicVector3D.h.

◆ perp2() [1/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp2 ( ) const
inline

Gets transverse component squared.

Definition at line 170 of file Geometry/BasicVector3D.h.

◆ perp2() [2/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp2 ( ) const
inline

Gets transverse component squared.

Definition at line 170 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::perp().

◆ perp2() [3/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp2 ( const BasicVector3D< T > &  v) const
inline

Returns transverse component w.r.t. given axis squared.

Definition at line 284 of file Geometry/BasicVector3D.h.

◆ perp2() [4/4]

template<class T>
T HepGeom::BasicVector3D< T >::perp2 ( const BasicVector3D< T > &  v) const
inline

Returns transverse component w.r.t. given axis squared.

Definition at line 284 of file CLHEP/Geometry/BasicVector3D.h.

◆ phi() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::phi ( ) const
inline

Gets azimuth angle.

Definition at line 202 of file Geometry/BasicVector3D.h.

◆ phi() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::phi ( ) const
inline

◆ pseudoRapidity() [1/4]

template<>
float HepGeom::BasicVector3D< float >::pseudoRapidity ( ) const

Definition at line 14 of file BasicVector3D.cc.

◆ pseudoRapidity() [2/4]

template<>
double HepGeom::BasicVector3D< double >::pseudoRapidity ( ) const

Definition at line 170 of file BasicVector3D.cc.

◆ pseudoRapidity() [3/4]

template<class T>
T HepGeom::BasicVector3D< T >::pseudoRapidity ( ) const

◆ pseudoRapidity() [4/4]

template<class T>
T HepGeom::BasicVector3D< T >::pseudoRapidity ( ) const

Gets pseudo-rapidity: -ln(std::tan(theta/2))

◆ r() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::r ( ) const
inline

Gets r-component in spherical coordinate system

Definition at line 199 of file Geometry/BasicVector3D.h.

◆ r() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::r ( ) const
inline

Gets r-component in spherical coordinate system

Definition at line 199 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::getR().

◆ rho() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::rho ( ) const
inline

Gets rho-component in cylindrical coordinate system

Definition at line 176 of file Geometry/BasicVector3D.h.

◆ rho() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::rho ( ) const
inline

Gets rho-component in cylindrical coordinate system

Definition at line 176 of file CLHEP/Geometry/BasicVector3D.h.

◆ rotate() [1/4]

template<>
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotate ( float  a,
const BasicVector3D< float > &  v 
)

Definition at line 78 of file BasicVector3D.cc.

◆ rotate() [2/4]

template<>
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotate ( double  a,
const BasicVector3D< double > &  v 
)

Definition at line 234 of file BasicVector3D.cc.

◆ rotate() [3/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotate ( a,
const BasicVector3D< T > &  v 
)

Rotates around the axis specified by another vector.

Referenced by HepGeom::BasicVector3D< float >::orthogonal().

◆ rotate() [4/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotate ( a,
const BasicVector3D< T > &  v 
)

Rotates around the axis specified by another vector.

◆ rotateX() [1/4]

template<>
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateX ( float  a)

Definition at line 50 of file BasicVector3D.cc.

◆ rotateX() [2/4]

template<>
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateX ( double  a)

Definition at line 206 of file BasicVector3D.cc.

◆ rotateX() [3/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateX ( a)

Rotates around x-axis.

◆ rotateX() [4/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateX ( a)

Rotates around x-axis.

Referenced by HepGeom::BasicVector3D< float >::orthogonal().

◆ rotateY() [1/4]

template<>
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateY ( float  a)

Definition at line 59 of file BasicVector3D.cc.

◆ rotateY() [2/4]

template<>
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateY ( double  a)

Definition at line 215 of file BasicVector3D.cc.

◆ rotateY() [3/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateY ( a)

Rotates around y-axis.

Referenced by HepGeom::BasicVector3D< float >::orthogonal().

◆ rotateY() [4/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateY ( a)

Rotates around y-axis.

◆ rotateZ() [1/4]

template<>
BasicVector3D< float > & HepGeom::BasicVector3D< float >::rotateZ ( float  a)

Definition at line 68 of file BasicVector3D.cc.

◆ rotateZ() [2/4]

template<>
BasicVector3D< double > & HepGeom::BasicVector3D< double >::rotateZ ( double  a)

Definition at line 224 of file BasicVector3D.cc.

◆ rotateZ() [3/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateZ ( a)

Rotates around z-axis.

◆ rotateZ() [4/4]

template<class T>
BasicVector3D<T>& HepGeom::BasicVector3D< T >::rotateZ ( a)

Rotates around z-axis.

Referenced by HepGeom::BasicVector3D< float >::orthogonal().

◆ set() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::set ( x1,
y1,
z1 
)
inline

Sets components in cartesian coordinate system.

Definition at line 162 of file Geometry/BasicVector3D.h.

◆ set() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::set ( x1,
y1,
z1 
)
inline

Sets components in cartesian coordinate system.

Definition at line 162 of file CLHEP/Geometry/BasicVector3D.h.

◆ setEta() [1/4]

template<>
void HepGeom::BasicVector3D< float >::setEta ( float  a)

Definition at line 24 of file BasicVector3D.cc.

◆ setEta() [2/4]

template<>
void HepGeom::BasicVector3D< double >::setEta ( double  a)

Definition at line 180 of file BasicVector3D.cc.

◆ setEta() [3/4]

template<class T>
void HepGeom::BasicVector3D< T >::setEta ( a)

Sets pseudo-rapidity, keeping magnitude and phi fixed.

Referenced by HepGeom::BasicVector3D< float >::getEta().

◆ setEta() [4/4]

template<class T>
void HepGeom::BasicVector3D< T >::setEta ( a)

Sets pseudo-rapidity, keeping magnitude and phi fixed.

◆ setMag() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setMag ( ma)
inline

Sets magnitude.

Definition at line 226 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::setR().

◆ setMag() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setMag ( ma)
inline

Sets magnitude.

Definition at line 226 of file Geometry/BasicVector3D.h.

◆ setPerp() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setPerp ( rh)
inline

Sets transverse component keeping phi and z constant.

Definition at line 180 of file CLHEP/Geometry/BasicVector3D.h.

◆ setPerp() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setPerp ( rh)
inline

Sets transverse component keeping phi and z constant.

Definition at line 180 of file Geometry/BasicVector3D.h.

◆ setPhi() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setPhi ( ph)
inline

Sets phi-component in spherical coordinate system.

Definition at line 237 of file CLHEP/Geometry/BasicVector3D.h.

◆ setPhi() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setPhi ( ph)
inline

Sets phi-component in spherical coordinate system.

Definition at line 237 of file Geometry/BasicVector3D.h.

◆ setR() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setR ( ma)
inline

Sets r-component in spherical coordinate system.

Definition at line 234 of file CLHEP/Geometry/BasicVector3D.h.

◆ setR() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setR ( ma)
inline

Sets r-component in spherical coordinate system.

Definition at line 234 of file Geometry/BasicVector3D.h.

◆ setTheta() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setTheta ( th)
inline

Sets theta-component in spherical coordinate system.

Definition at line 240 of file CLHEP/Geometry/BasicVector3D.h.

◆ setTheta() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setTheta ( th)
inline

Sets theta-component in spherical coordinate system.

Definition at line 240 of file Geometry/BasicVector3D.h.

◆ setX() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setX ( a)
inline

Sets x-component in cartesian coordinate system.

Definition at line 152 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::setPhi().

◆ setX() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setX ( a)
inline

Sets x-component in cartesian coordinate system.

Definition at line 152 of file Geometry/BasicVector3D.h.

◆ setY() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setY ( a)
inline

Sets y-component in cartesian coordinate system.

Definition at line 155 of file Geometry/BasicVector3D.h.

◆ setY() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setY ( a)
inline

Sets y-component in cartesian coordinate system.

Definition at line 155 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::setPhi().

◆ setZ() [1/2]

template<class T>
void HepGeom::BasicVector3D< T >::setZ ( a)
inline

Sets z-component in cartesian coordinate system.

Definition at line 158 of file CLHEP/Geometry/BasicVector3D.h.

◆ setZ() [2/2]

template<class T>
void HepGeom::BasicVector3D< T >::setZ ( a)
inline

Sets z-component in cartesian coordinate system.

Definition at line 158 of file Geometry/BasicVector3D.h.

◆ theta() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::theta ( ) const
inline

Gets polar angle.

Definition at line 207 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::getTheta().

◆ theta() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::theta ( ) const
inline

Gets polar angle.

Definition at line 207 of file Geometry/BasicVector3D.h.

◆ unit() [1/2]

template<class T>
BasicVector3D<T> HepGeom::BasicVector3D< T >::unit ( ) const
inline

Returns unit vector parallel to this.

Definition at line 305 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by main().

◆ unit() [2/2]

template<class T>
BasicVector3D<T> HepGeom::BasicVector3D< T >::unit ( ) const
inline

Returns unit vector parallel to this.

Definition at line 305 of file Geometry/BasicVector3D.h.

◆ x() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::x ( ) const
inline

Gets x-component in cartesian coordinate system.

Definition at line 142 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::BasicVector3D(), HepGeom::BasicVector3D< float >::cross(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), HepGeom::BasicVector3D< float >::dot(), HepGeom::BasicVector3D< float >::mag2(), main(), HepGeom::BasicVector3D< float >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< float >::operator!=(), HepGeom::BasicVector3D< float >::operator*(), HepGeom::BasicVector3D< float >::operator+(), HepGeom::BasicVector3D< float >::operator-(), HepGeom::BasicVector3D< float >::operator/(), HepGeom::Normal3D< float >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< float >::operator==(), HepGeom::BasicVector3D< float >::orthogonal(), HepGeom::BasicVector3D< float >::perp2(), HepGeom::BasicVector3D< float >::phi(), HepGeom::Plane3D< T >::Plane3D(), HepGeom::Plane3D< T >::point(), HepGeom::BasicVector3D< float >::rotate(), HepGeom::Rotate3D::Rotate3D(), HepGeom::BasicVector3D< float >::theta(), HepGeom::Transform3D::Transform3D(), and HepGeom::BasicVector3D< float >::unit().

◆ x() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::x ( ) const
inline

Gets x-component in cartesian coordinate system.

Definition at line 142 of file Geometry/BasicVector3D.h.

◆ y() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::y ( ) const
inline

Gets y-component in cartesian coordinate system.

Definition at line 145 of file Geometry/BasicVector3D.h.

◆ y() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::y ( ) const
inline

Gets y-component in cartesian coordinate system.

Definition at line 145 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::BasicVector3D(), HepGeom::BasicVector3D< float >::cross(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), HepGeom::BasicVector3D< float >::dot(), HepGeom::BasicVector3D< float >::mag2(), main(), HepGeom::BasicVector3D< float >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< float >::operator!=(), HepGeom::BasicVector3D< float >::operator*(), HepGeom::BasicVector3D< float >::operator+(), HepGeom::BasicVector3D< float >::operator-(), HepGeom::BasicVector3D< float >::operator/(), HepGeom::Normal3D< float >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< float >::operator==(), HepGeom::BasicVector3D< float >::orthogonal(), HepGeom::BasicVector3D< float >::perp2(), HepGeom::BasicVector3D< float >::phi(), HepGeom::Plane3D< T >::Plane3D(), HepGeom::Plane3D< T >::point(), HepGeom::BasicVector3D< float >::rotate(), HepGeom::Rotate3D::Rotate3D(), HepGeom::BasicVector3D< float >::theta(), HepGeom::Transform3D::Transform3D(), and HepGeom::BasicVector3D< float >::unit().

◆ z() [1/2]

template<class T>
T HepGeom::BasicVector3D< T >::z ( ) const
inline

Gets z-component in cartesian coordinate system.

Definition at line 148 of file CLHEP/Geometry/BasicVector3D.h.

Referenced by HepGeom::BasicVector3D< float >::BasicVector3D(), HepGeom::BasicVector3D< float >::cosTheta(), HepGeom::BasicVector3D< float >::cross(), HepGeom::Plane3D< T >::distance(), HepGeom::Point3D< float >::distance2(), HepGeom::Point3D< double >::distance2(), HepGeom::BasicVector3D< float >::dot(), HepGeom::BasicVector3D< float >::mag2(), main(), HepGeom::BasicVector3D< float >::operator CLHEP::Hep3Vector(), HepGeom::Vector3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Normal3D< double >::operator CLHEP::Hep3Vector(), HepGeom::Point3D< double >::operator CLHEP::Hep3Vector(), HepGeom::BasicVector3D< float >::operator!=(), HepGeom::BasicVector3D< float >::operator*(), HepGeom::BasicVector3D< float >::operator+(), HepGeom::BasicVector3D< float >::operator-(), HepGeom::BasicVector3D< float >::operator/(), HepGeom::Normal3D< float >::operator=(), HepGeom::Point3D< float >::operator=(), HepGeom::Vector3D< float >::operator=(), HepGeom::Normal3D< double >::operator=(), HepGeom::Vector3D< double >::operator=(), HepGeom::Point3D< double >::operator=(), HepGeom::BasicVector3D< float >::operator==(), HepGeom::BasicVector3D< float >::orthogonal(), HepGeom::Plane3D< T >::Plane3D(), HepGeom::Plane3D< T >::point(), HepGeom::BasicVector3D< float >::rotate(), HepGeom::Rotate3D::Rotate3D(), HepGeom::BasicVector3D< float >::theta(), HepGeom::Transform3D::Transform3D(), and HepGeom::BasicVector3D< float >::unit().

◆ z() [2/2]

template<class T>
T HepGeom::BasicVector3D< T >::z ( ) const
inline

Gets z-component in cartesian coordinate system.

Definition at line 148 of file Geometry/BasicVector3D.h.

Friends And Related Function Documentation

◆ operator!=() [1/4]

template<class T>
bool operator!= ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Comparison of two vectors for inequality.

Definition at line 448 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator!=() [2/4]

template<class T>
bool operator!= ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Comparison of two vectors for inequality.

Definition at line 448 of file Geometry/BasicVector3D.h.

◆ operator!=() [3/4]

template<class T>
bool operator!= ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Comparison of two vectors for inequality.

Definition at line 557 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator!=() [4/4]

template<class T>
bool operator!= ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Comparison of two vectors for inequality.

Definition at line 557 of file Geometry/BasicVector3D.h.

◆ operator*() [1/12]

template<class T>
BasicVector3D< float > operator* ( const BasicVector3D< float > &  v,
double  a 
)
related

Multiplication vector by scalar.

Definition at line 403 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*() [2/12]

template<class T>
BasicVector3D< float > operator* ( const BasicVector3D< float > &  v,
double  a 
)
related

Multiplication vector by scalar.

Definition at line 403 of file Geometry/BasicVector3D.h.

◆ operator*() [3/12]

template<class T>
float operator* ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Scalar product of two vectors.

Definition at line 412 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*() [4/12]

template<class T>
float operator* ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Scalar product of two vectors.

Definition at line 412 of file Geometry/BasicVector3D.h.

◆ operator*() [5/12]

template<class T>
BasicVector3D< float > operator* ( double  a,
const BasicVector3D< float > &  v 
)
related

Multiplication scalar by vector.

Definition at line 421 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*() [6/12]

template<class T>
BasicVector3D< float > operator* ( double  a,
const BasicVector3D< float > &  v 
)
related

Multiplication scalar by vector.

Definition at line 421 of file Geometry/BasicVector3D.h.

◆ operator*() [7/12]

template<class T>
BasicVector3D< double > operator* ( const BasicVector3D< double > &  v,
double  a 
)
related

Multiplication vector by scalar.

Definition at line 511 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*() [8/12]

template<class T>
BasicVector3D< double > operator* ( const BasicVector3D< double > &  v,
double  a 
)
related

Multiplication vector by scalar.

Definition at line 511 of file Geometry/BasicVector3D.h.

◆ operator*() [9/12]

template<class T>
double operator* ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Scalar product of two vectors.

Definition at line 520 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*() [10/12]

template<class T>
double operator* ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Scalar product of two vectors.

Definition at line 520 of file Geometry/BasicVector3D.h.

◆ operator*() [11/12]

template<class T>
BasicVector3D< double > operator* ( double  a,
const BasicVector3D< double > &  v 
)
related

Multiplication scalar by vector.

Definition at line 529 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator*() [12/12]

template<class T>
BasicVector3D< double > operator* ( double  a,
const BasicVector3D< double > &  v 
)
related

Multiplication scalar by vector.

Definition at line 529 of file Geometry/BasicVector3D.h.

◆ operator+() [1/8]

template<class T>
BasicVector3D< float > operator+ ( const BasicVector3D< float > &  v)
related

Unary plus.

Definition at line 369 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator+() [2/8]

template<class T>
BasicVector3D< float > operator+ ( const BasicVector3D< float > &  v)
related

Unary plus.

Definition at line 369 of file Geometry/BasicVector3D.h.

◆ operator+() [3/8]

template<class T>
BasicVector3D< float > operator+ ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Addition of two vectors.

Definition at line 376 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator+() [4/8]

template<class T>
BasicVector3D< float > operator+ ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Addition of two vectors.

Definition at line 376 of file Geometry/BasicVector3D.h.

◆ operator+() [5/8]

template<class T>
BasicVector3D< double > operator+ ( const BasicVector3D< double > &  v)
related

Unary plus.

Definition at line 477 of file Geometry/BasicVector3D.h.

◆ operator+() [6/8]

template<class T>
BasicVector3D< double > operator+ ( const BasicVector3D< double > &  v)
related

Unary plus.

Definition at line 477 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator+() [7/8]

template<class T>
BasicVector3D< double > operator+ ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Addition of two vectors.

Definition at line 484 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator+() [8/8]

template<class T>
BasicVector3D< double > operator+ ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Addition of two vectors.

Definition at line 484 of file Geometry/BasicVector3D.h.

◆ operator-() [1/8]

template<class T>
BasicVector3D< float > operator- ( const BasicVector3D< float > &  v)
related

Unary minus.

Definition at line 385 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator-() [2/8]

template<class T>
BasicVector3D< float > operator- ( const BasicVector3D< float > &  v)
related

Unary minus.

Definition at line 385 of file Geometry/BasicVector3D.h.

◆ operator-() [3/8]

template<class T>
BasicVector3D< float > operator- ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Subtraction of two vectors.

Definition at line 394 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator-() [4/8]

template<class T>
BasicVector3D< float > operator- ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Subtraction of two vectors.

Definition at line 394 of file Geometry/BasicVector3D.h.

◆ operator-() [5/8]

template<class T>
BasicVector3D< double > operator- ( const BasicVector3D< double > &  v)
related

Unary minus.

Definition at line 493 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator-() [6/8]

template<class T>
BasicVector3D< double > operator- ( const BasicVector3D< double > &  v)
related

Unary minus.

Definition at line 493 of file Geometry/BasicVector3D.h.

◆ operator-() [7/8]

template<class T>
BasicVector3D< double > operator- ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Subtraction of two vectors.

Definition at line 502 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator-() [8/8]

template<class T>
BasicVector3D< double > operator- ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Subtraction of two vectors.

Definition at line 502 of file Geometry/BasicVector3D.h.

◆ operator/() [1/4]

template<class T>
BasicVector3D< float > operator/ ( const BasicVector3D< float > &  v,
double  a 
)
related

Division vector by scalar.

Definition at line 430 of file Geometry/BasicVector3D.h.

◆ operator/() [2/4]

template<class T>
BasicVector3D< float > operator/ ( const BasicVector3D< float > &  v,
double  a 
)
related

Division vector by scalar.

Definition at line 430 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator/() [3/4]

template<class T>
BasicVector3D< double > operator/ ( const BasicVector3D< double > &  v,
double  a 
)
related

Division vector by scalar.

Definition at line 538 of file Geometry/BasicVector3D.h.

◆ operator/() [4/4]

template<class T>
BasicVector3D< double > operator/ ( const BasicVector3D< double > &  v,
double  a 
)
related

Division vector by scalar.

Definition at line 538 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator<<() [1/4]

template<class T>
std::ostream & operator<< ( std::ostream &  ,
const BasicVector3D< float > &   
)
related

Output to stream.

Definition at line 108 of file BasicVector3D.cc.

◆ operator<<() [2/4]

template<class T>
std::ostream & operator<< ( std::ostream &  ,
const BasicVector3D< float > &   
)
related

Output to stream.

Definition at line 108 of file BasicVector3D.cc.

◆ operator<<() [3/4]

template<class T>
std::ostream & operator<< ( std::ostream &  ,
const BasicVector3D< double > &   
)
related

Output to stream.

Definition at line 264 of file BasicVector3D.cc.

◆ operator<<() [4/4]

template<class T>
std::ostream & operator<< ( std::ostream &  ,
const BasicVector3D< double > &   
)
related

Output to stream.

Definition at line 264 of file BasicVector3D.cc.

◆ operator==() [1/4]

template<class T>
bool operator== ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Comparison of two vectors for equality.

Definition at line 439 of file Geometry/BasicVector3D.h.

◆ operator==() [2/4]

template<class T>
bool operator== ( const BasicVector3D< float > &  a,
const BasicVector3D< float > &  b 
)
related

Comparison of two vectors for equality.

Definition at line 439 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator==() [3/4]

template<class T>
bool operator== ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Comparison of two vectors for equality.

Definition at line 547 of file CLHEP/Geometry/BasicVector3D.h.

◆ operator==() [4/4]

template<class T>
bool operator== ( const BasicVector3D< double > &  a,
const BasicVector3D< double > &  b 
)
related

Comparison of two vectors for equality.

Definition at line 547 of file Geometry/BasicVector3D.h.

◆ operator>>() [1/4]

template<class T>
std::istream & operator>> ( std::istream &  ,
BasicVector3D< float > &   
)
related

Input from stream.

Definition at line 115 of file BasicVector3D.cc.

◆ operator>>() [2/4]

template<class T>
std::istream & operator>> ( std::istream &  ,
BasicVector3D< float > &   
)
related

◆ operator>>() [3/4]

template<class T>
std::istream & operator>> ( std::istream &  ,
BasicVector3D< double > &   
)
related

Input from stream.

Definition at line 271 of file BasicVector3D.cc.

◆ operator>>() [4/4]

template<class T>
std::istream & operator>> ( std::istream &  ,
BasicVector3D< double > &   
)
related

Input from stream.

Definition at line 271 of file BasicVector3D.cc.

Member Data Documentation

◆ v_

template<class T>
T HepGeom::BasicVector3D< T >::v_
protected

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