.. # split from OESystemFunctions.rst:1815

.. include:: ../substitutions

.. oe:namespace:: OESystem

.. meta::
   :keywords: OEMaskGrid

.. oe:function:: OEMaskGrid

   .. oe:api::

      template<class GridType1, class GridType2>
      bool OEMaskGrid(GridType1& outgrid, const GridType2& mask_grid,
                      unsigned int type = OEGridMaskType::Default)


