OEMakeRegularGrid

bool OEMakeRegularGrid(OESystem::OEScalarGrid &gridout,
                       const OESystem::OESkewGrid &gridin, float scale=0.0f)

Regularizes the input grid, ‘gridin’ (OESkewGrid) into an orthogonal axis ‘gridout’ (OEScalarGrid). The full extents of the OESkewGrid will be transferred, potentially causing some data redundancy in the resulting OEScalarGrid.