#include <Point2DBase.h>
Public Types | |
typedef PV2DBase< T, PointTag, FrameTag > | BaseClass |
typedef Basic2DVector< T > | BasicVectorType |
typedef BaseClass::Polar | Polar |
typedef Vector2DBase< T, FrameTag > | VectorType |
Public Types inherited from PV2DBase< T, PointTag, FrameTag > | |
typedef Basic2DVector< T > | BasicVectorType |
typedef BasicVectorType::MathVector | MathVector |
typedef BasicVectorType::Polar | Polar |
typedef T | ScalarType |
Public Member Functions | |
template<class U > | |
Point2DBase & | operator+= (const Vector2DBase< U, FrameTag > &v) |
template<class U > | |
Point2DBase & | operator-= (const Vector2DBase< U, FrameTag > &v) |
Point2DBase () | |
template<class U > | |
Point2DBase (const Basic2DVector< U > &v) | |
template<class U > | |
Point2DBase (const Point2DBase< U, FrameTag > &p) | |
Point2DBase (const Polar &set) | |
construct from polar coordinates More... | |
Point2DBase (const T &x, const T &y) | |
construct from cartesian coordinates More... | |
Public Member Functions inherited from PV2DBase< T, PointTag, FrameTag > | |
T | barePhi () const |
const BasicVectorType & | basicVector () const |
T | mag () const |
T | mag2 () const |
MathVector & | mathVector () |
MathVector const & | mathVector () const |
Geom::Phi< T > | phi () const |
PV2DBase () | |
PV2DBase (const Basic2DVector< U > &v) | |
PV2DBase (const Polar &set) | |
construct from polar coordinates More... | |
PV2DBase (const T &x, const T &y) | |
construct from cartesian coordinates More... | |
T | r () const |
T | x () const |
T | y () const |
Additional Inherited Members | |
Protected Member Functions inherited from PV2DBase< T, PointTag, FrameTag > | |
BasicVectorType & | basicVector () |
Protected Attributes inherited from PV2DBase< T, PointTag, FrameTag > | |
BasicVectorType | theVector |
Definition at line 9 of file Point2DBase.h.
typedef PV2DBase<T, PointTag, FrameTag> Point2DBase< T, FrameTag >::BaseClass |
Definition at line 11 of file Point2DBase.h.
typedef Basic2DVector<T> Point2DBase< T, FrameTag >::BasicVectorType |
Definition at line 13 of file Point2DBase.h.
typedef BaseClass::Polar Point2DBase< T, FrameTag >::Polar |
Definition at line 14 of file Point2DBase.h.
typedef Vector2DBase<T, FrameTag> Point2DBase< T, FrameTag >::VectorType |
Definition at line 12 of file Point2DBase.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 20 of file Point2DBase.h.
|
inline |
Construct from another point in the same reference frame, possiblly with different precision
Definition at line 26 of file Point2DBase.h.
|
inline |
construct from cartesian coordinates
Definition at line 29 of file Point2DBase.h.
|
inlineexplicit |
|
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 39 of file Point2DBase.h.
|
inline |
A Point can be shifted by a Vector of possibly different precision, defined in the same coordinate frame
Definition at line 45 of file Point2DBase.h.
|
inline |
Definition at line 51 of file Point2DBase.h.