MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / setTransform

Method setTransform

src/Base/ViewProj.cpp:57–61  ·  view source on GitHub ↗

! * \brief This method applies an additional transformation to the input points * passed with the () operator. * \param mat */

Source from the content-addressed store, hash-verified

55 * \param mat
56 */
57void ViewProjMethod::setTransform(const Base::Matrix4D& mat)
58{
59 transform = mat;
60 hasTransform = (mat != Base::Matrix4D());
61}
62
63void ViewProjMethod::transformInput(const Base::Vector3f& src, Base::Vector3f& dst) const
64{

Callers 1

setCustomAttributesMethod · 0.45

Calls 1

Matrix4DClass · 0.70

Tested by

no test coverage detected