Go to the documentation of this file. 1 #ifndef GeometryVector_Point3DBase_h
2 #define GeometryVector_Point3DBase_h
9 template <
class T,
class FrameTag>
82 template <
typename T,
typename U,
class Frame>
86 return RT(
p.basicVector() +
v.basicVector());
91 template <
typename T,
typename U,
class Frame>
95 return RT(
p.basicVector() +
v.basicVector());
102 template <
typename T,
typename U,
class Frame>
106 return RT(
p1.basicVector() -
p2.basicVector());
113 template <
typename T,
typename U,
class Frame>
117 return RT(
p.basicVector() -
v.basicVector());
119 #endif // GeometryVector_Point3DBase_h
PV3DBase< T, PointTag, FrameTag > BaseClass
BasicVectorType theVector
Point3DBase & operator-=(const Vector3DBase< U, FrameTag > &v)
Point3DBase< typename PreciseFloatType< T, U >::Type, Frame > operator+(const Point3DBase< T, Frame > &p, const Vector3DBase< U, Frame > &v)
Point3DBase(const T &x, const T &y)
Point3DBase(const T &x, const T &y, const T &z)
construct from cartesian coordinates
Point3DBase(const Geom::Theta< T > &th, const Geom::Phi< T > &ph, const T &r)
BaseClass::Cylindrical Cylindrical
Vector3DBase< typename PreciseFloatType< T, U >::Type, Frame > operator-(const Point3DBase< T, Frame > &p1, const Point3DBase< U, Frame > &p2)
Point3DBase(Point2DBase< T, FrameTag > p)
BaseClass::Spherical Spherical
Point3DBase(const Basic3DVector< U > &v)
bool operator==(const Point3DBase &rh) const
const BasicVectorType & basicVector() const
Point3DBase(const Cylindrical &set)
Vector3DBase< T, FrameTag > VectorType
Point3DBase & operator+=(const Vector3DBase< U, FrameTag > &v)
Point3DBase(const Point3DBase< U, FrameTag > &p)
Point3DBase(const Polar &set)
construct from polar coordinates
BaseClass::BasicVectorType BasicVectorType