@ Pure @ SuppressWarnings ( "checkstyle:magicnumber" ) public double getScale ( ) { final double [ ] tmpScale = new double [ 3 ] ; final double [ ] tmpRot = new double [ 9 ] ; getScaleRotate2x2 ( tmpScale , tmpRot ) ; return MathUtil . max ( tmpScale ) ; }
Performs an SVD normalization of this matrix to calculate and return the uniform scale factor . If the matrix has non - uniform scale factors the largest of the x y scale factors will be returned .