| 69 | } |
| 70 | |
| 71 | void Placement::fromMatrix(const Base::Matrix4D& matrix) |
| 72 | { |
| 73 | _rot.setValue(matrix); |
| 74 | this->_pos.x = matrix[0][3]; |
| 75 | this->_pos.y = matrix[1][3]; |
| 76 | this->_pos.z = matrix[2][3]; |
| 77 | } |
| 78 | |
| 79 | DualQuat Placement::toDualQuaternion() const |
| 80 | { |
no test coverage detected