19#ifndef BDSINTERPOLATOR2D_H
20#define BDSINTERPOLATOR2D_H
21#include "BDSArray2DCoords.hh"
22#include "BDSDimensionType.hh"
23#include "BDSExtent.hh"
24#include "BDSFieldValue.hh"
25#include "BDSInterpolator.hh"
28#include "G4ThreeVector.hh"
2D array with spatial mapping derived from BDSArray4DCoords.
virtual BDSExtent Extent() const
BDSDimensionType SecondDimension() const
Accessor for each dimension label. e.g. array 'x' = spatial z.
virtual G4bool TimeVarying() const
BDSDimensionType FirstDimension() const
Accessor for each dimension label. e.g. array 'x' = spatial z.
Holder for +- extents in 3 dimensions.
Interface for all 2D interpolators.
G4ThreeVector GetInterpolatedValue(G4double x, G4double y) const
Public interface to a 2D interpolator. Returns Geant4 type as that's what will be needed.
BDSDimensionType SecondDimension() const
Accessor for the active dimension this represents (second).
BDSDimensionType FirstDimension() const
Accessor for the active dimension this represents (first).
virtual BDSFieldValue GetInterpolatedValueT(G4double x, G4double y) const =0
virtual BDSExtent Extent() const
Extent of field.
BDSArray2DCoords * array
The field data.
Interface for all interpolators containing basic extent of validity.