Revit.SDK.Samples.ShaftHolePuncher.CS.Matrix4.RotationInverse C# (CSharp) Method

RotationInverse() public method

if m_matrix is a rotation matrix,this method can get the rotation inverse matrix.
public RotationInverse ( ) : Matrix4
return Matrix4
        public Matrix4 RotationInverse()
        {
            return new Matrix4(new Vector4(this[0, 0], this[1, 0], this[2, 0]),
                new Vector4(this[0, 1], this[1, 1], this[2, 1]),
                new Vector4(this[0, 2], this[1, 2], this[2, 2]));
        }