#include <Transform.h>
The matrix has a rotational an a translational part. However, it is not enforced that the rotational part is actually just a rotation (this is slightly tricky due to possible numeric errors.
Definition at line 11 of file Transform.h.
Public Member Functions | |
Transform () | |
template<class TA, class TB> | |
Transform (TA rot, TB trans) | |
template<class Point> | |
Point | operator() (const Point &pt) const |
template<class Pt> | |
void | set_translation (Pt tr) |
void | write (std::ostream &out) const |
double | error (const Transform &o) const |
|
Construct a transform from a rotation matrix and an offset vector.
Definition at line 24 of file Transform.h. |
|
Apply a transformation to a point.
Definition at line 44 of file Transform.h. References dsrpdb::Point::x(), dsrpdb::Point::y(), and dsrpdb::Point::z(). |
|
Set the translation part of the transformation matrix.
Definition at line 58 of file Transform.h. |