19#ifndef BDSINTERPOLATOR2DNEAREST_H
20#define BDSINTERPOLATOR2DNEAREST_H
22#include "BDSFieldValue.hh"
23#include "BDSInterpolator2D.hh"
2D array with spatial mapping derived from BDSArray4DCoords.
Interpolated field array that gives the nearest neighbour value.
BDSInterpolator2DNearest()=delete
Private default constructor to force use of provided one.
virtual BDSFieldValue GetInterpolatedValueT(G4double x, G4double y) const
Interface for all 2D interpolators.