19#include "BDSInterpolator2D.hh"
21#include "G4ThreeVector.hh"
32 return G4ThreeVector(r.
x(), r.
y(), r.
z());
2D array with spatial mapping derived from BDSArray4DCoords.
G4ThreeVector GetInterpolatedValue(G4double x, G4double y) const
Public interface to a 2D interpolator. Returns Geant4 type as that's what will be needed.
virtual BDSFieldValue GetInterpolatedValueT(G4double x, G4double y) const =0
Interface for all interpolators containing basic extent of validity.
const T & z() const
Accessor by name.
const T & x() const
Accessor by name.
const T & y() const
Accessor by name.