.. # split from OESystemFunctions.rst:1586

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEInterpolateBetweenGrids

.. oe:function:: OEInterpolateBetweenGrids

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEInterpolateBetweenGrids(OESystem::OEScalarGrid& dst,
                                        const OESystem::OEScalarGrid& src)

   .. oe:language:: python

      .. oe:api:: python

         OEInterpolateBetweenGrids(dst: OEScalarGrid, src: OEScalarGrid) -> bool

   Sets the values on 'dst' grid (:ref:`OEScalarGrid <OESystem_OEScalarGrid>`) by linearly
   interpolating the values from 'src' grid (:ref:`OEScalarGrid <OESystem_OEScalarGrid>`).

