public static Matrixd ToMatrixd(this Essence.Geometry.Core.Double.Matrix2x3d mat) { return(new Matrixd(mat.M00, mat.M10, 0, 0, mat.M01, mat.M11, 0, 0, mat.M02, mat.M12, 1, 0, 0, 0, 0, 1)); }