[Olena-patches] 3492: Rewrite the ostream op for grid points and dpoints.