Math::TransformBase<2> internal class members

TransformBase()  

No documentation available

TransformBase<2> & affine_rotation(unsigned int axis, double dangle)  

apply rotation to current transform (degree)

TransformBase<2> & affine_rotation_rad(unsigned int axis, double rangle)  

apply rotation to current transform (radian)

TransformBase<2> & affine_scaling(const Vector<N> &v)  

apply scaling to current transform

TransformBase<2> & affine_scaling(double s)  

apply scaling to current transform

TransformBase<2> & apply_translation(const Vector<N> &v)  

apply translation to current transform

void compose(const TransformBase<N> &t)  

compose with t. new transform is equivalent to applying t then this transform

const Matrix<N> & get_linear() const  

get linear transform matrix

Matrix<N> & get_linear()  

get linear transform matrix

const Vector<N> & get_translation() const  

get translation vector

Vector<N> & get_translation()  

get translation vector

TransformBase<2> inverse() const  

get inverse transformation

void linear_reset()  

reset linear transform to identity

TransformBase<2> & linear_rotation(unsigned int axis, double dangle)  

apply rotation to current transform (degree) (does not transform translation vector)

TransformBase<2> & linear_rotation_rad(unsigned int axis, double rangle)  

apply rotation to current transform (radian) (does not transform translation vector)

TransformBase<2> & linear_scaling(const Vector<N> &v)  

apply linear scaling to current transform (does not transform translation vector)

TransformBase<2> & linear_scaling(double s)  

apply scaling to current transform (does not transform translation vector)

void reset()  

reset linear transform to identity and translation to zero

void set_translation(const Vector<N> &v)  

set current translation

Vector<N> transform(const Vector<N> &v) const  

apply affine transform (translation and linear) to vector

VectorPair<N> transform_line(const VectorPair<N> &v) const  

apply affine transform to line origin and linear to direction

Vector<N> transform_linear(const Vector<N> &v) const  

apply linear transform to vector

VectorPair<N> transform_pair(const VectorPair<N> &p) const  

apply affine transform to both vectors in pair

Vector<N> transform_translate(const Vector<N> &v) const  

apply translation to vector

void translation_reset()  

reset translation to zero

virtual ~TransformBase()  

No documentation available

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Jan 8 00:47:24 2012 using MkDoc