#include <Point3DBase.h>
Public Types | |
typedef PV3DBase< T, PointTag, FrameTag > | BaseClass |
typedef BaseClass::BasicVectorType | BasicVectorType |
typedef BaseClass::Cylindrical | Cylindrical |
typedef BaseClass::Polar | Polar |
typedef BaseClass::Spherical | Spherical |
typedef Vector3DBase< T, FrameTag > | VectorType |
Public Types inherited from PV3DBase< T, PointTag, FrameTag > | |
typedef Basic3DVector< T > | BasicVectorType |
typedef BasicVectorType::Cylindrical | Cylindrical |
typedef BasicVectorType::MathVector | MathVector |
typedef BasicVectorType::Polar | Polar |
typedef T | ScalarType |
typedef BasicVectorType::Spherical | Spherical |
Public Member Functions | |
template<class U > | |
Point3DBase & | operator+= (const Vector3DBase< U, FrameTag > &v) |
template<class U > | |
Point3DBase & | operator-= (const Vector3DBase< U, FrameTag > &v) |
bool | operator== (const Point3DBase &rh) const |
Point3DBase () | |
template<class U > | |
Point3DBase (const Point3DBase< U, FrameTag > &p) | |
Point3DBase (const T &x, const T &y, const T &z) | |
construct from cartesian coordinates More... | |
Point3DBase (const Cylindrical &set) | |
Point3DBase (const Polar &set) | |
construct from polar coordinates More... | |
Point3DBase (const Geom::Theta< T > &th, const Geom::Phi< T > &ph, const T &r) | |
Point3DBase (const T &x, const T &y) | |
Point3DBase (Point2DBase< T, FrameTag > p) | |
template<class U > | |
Point3DBase (const Basic3DVector< U > &v) | |
Public Member Functions inherited from PV3DBase< T, PointTag, FrameTag > | |
T | barePhi () const |
T | bareTheta () const |
const BasicVectorType & | basicVector () const |
T | eta () const |
T | mag () const |
T | mag2 () const |
MathVector const & | mathVector () const |
MathVector & | mathVector () |
T | perp () const |
T | perp2 () const |
Geom::Phi< T > | phi () const |
PV3DBase () | |
PV3DBase (const T &x, const T &y, const T &z) | |
construct from cartesian coordinates More... | |
PV3DBase (const Cylindrical &set) | |
PV3DBase (const Polar &set) | |
construct from polar coordinates More... | |
PV3DBase (const Geom::Theta< T > &th, const Geom::Phi< T > &ph, const T &r) | |
PV3DBase (const Basic3DVector< U > &v) | |
Geom::Theta< T > | theta () const |
T | transverse () const |
T | x () const |
T | y () const |
T | z () const |
Additional Inherited Members | |
Protected Attributes inherited from PV3DBase< T, PointTag, FrameTag > | |
BasicVectorType | theVector |
Definition at line 10 of file Point3DBase.h.
typedef PV3DBase<T, PointTag, FrameTag> Point3DBase< T, FrameTag >::BaseClass |
Definition at line 12 of file Point3DBase.h.
typedef BaseClass::BasicVectorType Point3DBase< T, FrameTag >::BasicVectorType |
Definition at line 17 of file Point3DBase.h.
typedef BaseClass::Cylindrical Point3DBase< T, FrameTag >::Cylindrical |
Definition at line 14 of file Point3DBase.h.
typedef BaseClass::Polar Point3DBase< T, FrameTag >::Polar |
Definition at line 16 of file Point3DBase.h.
typedef BaseClass::Spherical Point3DBase< T, FrameTag >::Spherical |
Definition at line 15 of file Point3DBase.h.
typedef Vector3DBase<T, FrameTag> Point3DBase< T, FrameTag >::VectorType |
Definition at line 13 of file Point3DBase.h.
|
inline |
default constructor uses default constructor of T to initialize the components. For built-in floating-point types this means initialization to zero
Definition at line 23 of file Point3DBase.h.
|
inline |
Construct from another point in the same reference frame, possiblly with different precision
Definition at line 29 of file Point3DBase.h.
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
Deprecated construct from polar coordinates, use constructor from Polar( theta, phi, r) instead.
Definition at line 44 of file Point3DBase.h.
|
inline |
Mimick 2D point. This constructor is convenient for points on a plane, since the z component for them is zero.
Definition at line 49 of file Point3DBase.h.
|
inlineexplicit |
Definition at line 50 of file Point3DBase.h.
|
inlineexplicit |
Explicit constructor from BasicVectorType, bypasses consistency checks for point/vector and for coordinate frame. To be used as carefully as e.g. const_cast.
Definition at line 57 of file Point3DBase.h.
|
inline |
A Point can be shifted by a Vector of possibly different precision, defined in the same coordinate frame
Definition at line 66 of file Point3DBase.h.
|
inline |
Definition at line 72 of file Point3DBase.h.
|
inline |
Definition at line 60 of file Point3DBase.h.