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

Public Member Functions
HepGeom::Point3D< float > Class Template Reference

#include <Point3D.h>

Inheritance diagram for HepGeom::Point3D< float >:
HepGeom::BasicVector3D< float > HepGeom::BasicVector3D< float >

List of all members.

Public Member Functions

 Point3D ()
 Point3D (float x1, float y1, float z1)
 Point3D (const float *a)
 Point3D (const Point3D< float > &v)
 Point3D (const BasicVector3D< float > &v)
 ~Point3D ()
Point3D< float > & operator= (const Point3D< float > &v)
Point3D< float > & operator= (const BasicVector3D< float > &v)
float distance2 () const
float distance2 (const Point3D< float > &p) const
float distance () const
float distance (const Point3D< float > &p) const
Point3D< float > & transform (const Transform3D &m)
 Point3D ()
 Point3D (float x1, float y1, float z1)
 Point3D (const float *a)
 Point3D (const Point3D< float > &v)
 Point3D (const BasicVector3D< float > &v)
 ~Point3D ()
Point3D< float > & operator= (const Point3D< float > &v)
Point3D< float > & operator= (const BasicVector3D< float > &v)
float distance2 () const
float distance2 (const Point3D< float > &p) const
float distance () const
float distance (const Point3D< float > &p) const
Point3D< float > & transform (const Transform3D &m)
- Public Member Functions inherited from HepGeom::BasicVector3D< float >
 BasicVector3D (floatx1, floaty1, floatz1)
 BasicVector3D (const BasicVector3D< float > &v)
 BasicVector3D (floatx1, floaty1, floatz1)
 BasicVector3D (const BasicVector3D< float > &v)
virtual ~BasicVector3D ()
virtual ~BasicVector3D ()
 operator float * ()
 operator float * ()
 operator const float * () const
 operator const float * () const
 operator CLHEP::Hep3Vector () const
 operator CLHEP::Hep3Vector () const
BasicVector3D< float > & operator+= (const BasicVector3D< float > &v)
BasicVector3D< float > & operator+= (const BasicVector3D< float > &v)
BasicVector3D< float > & operator-= (const BasicVector3D< float > &v)
BasicVector3D< float > & operator-= (const BasicVector3D< float > &v)
BasicVector3D< float > & operator*= (double a)
BasicVector3D< float > & operator*= (double a)
BasicVector3D< float > & operator/= (double a)
BasicVector3D< float > & operator/= (double a)
float operator() (int i) const
float & operator() (int i)
float operator() (int i) const
float & operator() (int i)
float operator[] (int i) const
float & operator[] (int i)
float operator[] (int i) const
float & operator[] (int i)
float x () const
float x () const
float y () const
float y () const
float z () const
float z () const
void setX (floata)
void setX (floata)
void setY (floata)
void setY (floata)
void setZ (floata)
void setZ (floata)
void set (floatx1, floaty1, floatz1)
void set (floatx1, floaty1, floatz1)
float perp2 () const
float perp2 (const BasicVector3D< float > &v) const
float perp2 () const
float perp2 (const BasicVector3D< float > &v) const
float perp () const
float perp (const BasicVector3D< float > &v) const
float perp () const
float perp (const BasicVector3D< float > &v) const
float rho () const
float rho () const
void setPerp (floatrh)
void setPerp (floatrh)
float mag2 () const
float mag2 () const
float mag () const
float mag () const
float r () const
float r () const
float phi () const
float phi () const
float theta () const
float theta () const
float cosTheta () const
float cosTheta () const
float getR () const
float getR () const
float getPhi () const
float getPhi () const
float getTheta () const
float getTheta () const
void setMag (floatma)
void setMag (floatma)
void setR (floatma)
void setR (floatma)
void setPhi (floatph)
void setPhi (floatph)
void setTheta (floatth)
void setTheta (floatth)
float pseudoRapidity () const
float pseudoRapidity () const
float eta () const
float eta () const
float getEta () const
float getEta () const
void setEta (floata)
void setEta (floata)
float dot (const BasicVector3D< float > &v) const
float dot (const BasicVector3D< float > &v) const
BasicVector3D< float > cross (const BasicVector3D< float > &v) const
BasicVector3D< float > cross (const BasicVector3D< float > &v) const
float angle (const BasicVector3D< float > &v) const
float angle (const BasicVector3D< float > &v) const
BasicVector3D< float > unit () const
BasicVector3D< float > unit () const
BasicVector3D< float > orthogonal () const
BasicVector3D< float > orthogonal () const
BasicVector3D< float > & rotateX (floata)
BasicVector3D< float > & rotateX (floata)
BasicVector3D< float > & rotateY (floata)
BasicVector3D< float > & rotateY (floata)
BasicVector3D< float > & rotateZ (floata)
BasicVector3D< float > & rotateZ (floata)
BasicVector3D< float > & rotate (floata, const BasicVector3D< float > &v)
BasicVector3D< float > & rotate (floata, const BasicVector3D< float > &v)

Additional Inherited Members

- Public Types inherited from HepGeom::BasicVector3D< float >
enum  
enum  
- Protected Member Functions inherited from HepGeom::BasicVector3D< float >
 BasicVector3D ()
 BasicVector3D ()
- Protected Attributes inherited from HepGeom::BasicVector3D< float >
float v_ [3]

Detailed Description

template<>
class HepGeom::Point3D< float >

Geometrical 3D Point with components of float type.

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

Definition at line 44 of file CLHEP/Geometry/Point3D.h.


Constructor & Destructor Documentation

HepGeom::Point3D< float >::Point3D ( )
inline

Default constructor.

Definition at line 48 of file CLHEP/Geometry/Point3D.h.

HepGeom::Point3D< float >::Point3D ( float  x1,
float  y1,
float  z1 
)
inline

Constructor from three numbers.

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

HepGeom::Point3D< float >::Point3D ( const float *  a)
inlineexplicit

Constructor from array of floats.

Definition at line 56 of file CLHEP/Geometry/Point3D.h.

HepGeom::Point3D< float >::Point3D ( const Point3D< float > &  v)
inline

Copy constructor.

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

HepGeom::Point3D< float >::Point3D ( const BasicVector3D< float > &  v)
inline

Constructor from BasicVector3D<float>.

Definition at line 65 of file CLHEP/Geometry/Point3D.h.

HepGeom::Point3D< float >::~Point3D ( )
inline

Destructor.

Definition at line 69 of file CLHEP/Geometry/Point3D.h.

HepGeom::Point3D< float >::Point3D ( )
inline

Default constructor.

Definition at line 48 of file Geometry/Point3D.h.

HepGeom::Point3D< float >::Point3D ( float  x1,
float  y1,
float  z1 
)
inline

Constructor from three numbers.

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

HepGeom::Point3D< float >::Point3D ( const float *  a)
inlineexplicit

Constructor from array of floats.

Definition at line 56 of file Geometry/Point3D.h.

HepGeom::Point3D< float >::Point3D ( const Point3D< float > &  v)
inline

Copy constructor.

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

HepGeom::Point3D< float >::Point3D ( const BasicVector3D< float > &  v)
inline

Constructor from BasicVector3D<float>.

Definition at line 65 of file Geometry/Point3D.h.

HepGeom::Point3D< float >::~Point3D ( )
inline

Destructor.

Definition at line 69 of file Geometry/Point3D.h.


Member Function Documentation

float HepGeom::Point3D< float >::distance ( ) const
inline

Returns distance to the origin.

Definition at line 96 of file CLHEP/Geometry/Point3D.h.

float HepGeom::Point3D< float >::distance ( ) const
inline

Returns distance to the origin.

Definition at line 96 of file Geometry/Point3D.h.

float HepGeom::Point3D< float >::distance ( const Point3D< float > &  p) const
inline

Returns distance to the point.

Definition at line 100 of file CLHEP/Geometry/Point3D.h.

float HepGeom::Point3D< float >::distance ( const Point3D< float > &  p) const
inline

Returns distance to the point.

Definition at line 100 of file Geometry/Point3D.h.

float HepGeom::Point3D< float >::distance2 ( ) const
inline

Returns distance to the origin squared.

Definition at line 85 of file CLHEP/Geometry/Point3D.h.

References HepGeom::BasicVector3D< T >::mag2().

float HepGeom::Point3D< float >::distance2 ( ) const
inline

Returns distance to the origin squared.

Definition at line 85 of file Geometry/Point3D.h.

References HepGeom::BasicVector3D< T >::mag2().

float HepGeom::Point3D< float >::distance2 ( const Point3D< float > &  p) const
inline

Returns distance to the point squared.

Definition at line 89 of file CLHEP/Geometry/Point3D.h.

References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().

float HepGeom::Point3D< float >::distance2 ( const Point3D< float > &  p) const
inline

Returns distance to the point squared.

Definition at line 89 of file Geometry/Point3D.h.

References HepGeom::BasicVector3D< T >::x(), HepGeom::BasicVector3D< T >::y(), and HepGeom::BasicVector3D< T >::z().

Point3D<float>& HepGeom::Point3D< float >::operator= ( const Point3D< float > &  v)
inline
Point3D<float>& HepGeom::Point3D< float >::operator= ( const Point3D< float > &  v)
inline
Point3D<float>& HepGeom::Point3D< float >::operator= ( const BasicVector3D< float > &  v)
inline
Point3D<float>& HepGeom::Point3D< float >::operator= ( const BasicVector3D< float > &  v)
inline
Point3D<float>& HepGeom::Point3D< float >::transform ( const Transform3D m)

Transformation by Transform3D.

Point3D< float > & HepGeom::Point3D< float >::transform ( const Transform3D m)

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