RotationMatrix() public method

This method builds a rotation matrix from the global coordinate system to the local coordinate system formed by the local axes
public RotationMatrix ( Microsoft &m ) : void
m Microsoft The rotation matrix to build
return void
        protected Vector3 toLocal(LineElement line, Vector3 v)
        {
            Matrix r;

            line.RotationMatrix(out r);
            return Vector3.TransformCoordinate(v, Matrix.TransposeMatrix(r));
        }