7 #ifndef __geometry_MatrixBezier_h__ 8 #define __geometry_MatrixBezier_h__ 29 template <
typename MATRIX>
36 void solve(MATRIX& B,
const MATRIX& A, T a_power)
const;
39 template <
typename MATRIX>
44 const T linearity=0.45;
47 const T distance=magnitude(rTranslation);
51 const T power1=T(1)-a_power;
52 const T xStart=distance*a_power;
53 const T xFull= -distance*power1;
56 const Vector<3,T> locTip=xFull*A.column(0)+rTranslation;
59 locTip[0]*a_power+xStart*power1,
64 const Vector<3,T> locMix=locLinear*linearity+locBlend*(1.0-linearity);
70 makeFrameTangentX(B,locMix,xArmBlend,yArmBlend);
kernel
Definition: namespace.dox:3
solve B = A^^power, where A is a matrix
Definition: MatrixBezier.h:30