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
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)
BaseClass::BasicVectorType BasicVectorType
Point3DBase & operator-=(const Vector3DBase< U, FrameTag > &v)
Point3DBase(const Polar &set)
construct from polar coordinates
PV3DBase< T, PointTag, FrameTag > BaseClass
Point3DBase(const T &x, const T &y, const T &z)
construct from cartesian coordinates
BaseClass::Cylindrical Cylindrical
Point3DBase(const T &x, const T &y)
Point3DBase(const Geom::Theta< T > &th, const Geom::Phi< T > &ph, const T &r)
BaseClass::Spherical Spherical
Point3DBase(const Basic3DVector< U > &v)
Point3DBase(Point2DBase< T, FrameTag > p)
const BasicVectorType & basicVector() const
Vector3DBase< T, FrameTag > VectorType
Vector3DBase< typename PreciseFloatType< T, U >::Type, Frame > operator-(const Point3DBase< T, Frame > &p1, const Point3DBase< U, Frame > &p2)
BasicVectorType theVector
bool operator==(const Point3DBase &rh) const
Point3DBase(const Cylindrical &set)
Point3DBase(const Point3DBase< U, FrameTag > &p)