Math::Transform<2> class reference
[Core module]
Declaration
#include <Goptical/Math/Transform>
namespace Goptical {
namespace Math {
template <> class Transform<2>;
};
};
This class is a member of the Math namespace.
This class is a specialization of Transform.
Description
This class describes linear and affine transformations in 2d space. It contains a 2x2 transformation matrix and a 2d translation vector. It can be used for translation and rotation in 2d.
See also Transform2 typedef.
Members
See also the full member list section for this class.
Functions
- Transform()
- Transform(const TransformBase<2> &t)
- TransformBase<2> & affine_rotation(unsigned int axis, double dangle)
- TransformBase<2> & affine_rotation_rad(unsigned int axis, double rangle)
- TransformBase<2> & affine_scaling(const Vector<N> &v)
- TransformBase<2> & affine_scaling(double s)
- TransformBase<2> & apply_translation(const Vector<N> &v)
- void compose(const TransformBase<N> &t)
- const Matrix<N> & get_linear() const
- Matrix<N> & get_linear()
- const Vector<N> & get_translation() const
- Vector<N> & get_translation()
- TransformBase<2> inverse() const
- void linear_reset()
- TransformBase<2> & linear_rotation(unsigned int axis, double dangle)
- TransformBase<2> & linear_rotation_rad(unsigned int axis, double rangle)
- TransformBase<2> & linear_scaling(const Vector<N> &v)
- TransformBase<2> & linear_scaling(double s)
- void reset()
- void set_translation(const Vector<N> &v)
- Vector<N> transform(const Vector<N> &v) const
- VectorPair<N> transform_line(const VectorPair<N> &v) const
- Vector<N> transform_linear(const Vector<N> &v) const
- VectorPair<N> transform_pair(const VectorPair<N> &p) const
- Vector<N> transform_translate(const Vector<N> &v) const
- void translation_reset()
Members detail
No documentation available
No documentation available