TDenseGrid3::ToLinear