28 #if defined(GAVector_RECURSES)
29 #error Recursive header files inclusion detected in GAVector.h
32 #define GAVector_RECURSES
34 #if !defined GAVector_h
40 #include "DGtal/base/Common.h"
41 #include "DGtal/kernel/BasicPointFunctors.h"
42 #include <DGtal/helpers/StdDefs.h>
43 #include <DGtal/kernel/domains/CDomain.h>
46 template<
typename TSpace,
typename TInputValue =
typename TSpace::Po
int>
51 explicit GAVector(
const TInputValue& pt= TInputValue(0,0))
98 #undef GAVector_RECURSES
DGtal is the top-level namespace which contains all DGtal functions and types.
TInputValue::Component bivectorPart(const GAVector &other) const
bivector part of the a mv, i.e. compute the outer product part of the geometric product
bool operator<(const GAVector &other) const
double angleToXAxis() const
GAVector(const TInputValue &pt=TInputValue(0, 0))
zero multivector
bool operator==(const GAVector &other) const
TInputValue::Component dot(GAVector other) const
scalar part of the a mv, i.e. compute the dot product part of the geometric product
GAVector operator*(const GAVector &v)
geometric product between two vectors
GAVector operator*(typename TInputValue::Component f) const
geometric product with a scalar