19#ifndef BDSINTERPOLATOR1D_H
20#define BDSINTERPOLATOR1D_H
21#include "BDSArray1DCoords.hh"
22#include "BDSDimensionType.hh"
23#include "BDSExtent.hh"
24#include "BDSFieldValue.hh"
25#include "BDSInterpolator.hh"
28#include "G4ThreeVector.hh"
1D array with spatial mapping derived from BDSArray4DCoords.
virtual BDSExtent Extent() const
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 1D interpolators.
BDSDimensionType FirstDimension() const
Accessor for the active dimension this represents.
virtual BDSFieldValue GetInterpolatedValueT(G4double x) const =0
G4ThreeVector GetInterpolatedValue(G4double x) const
Public interface to a 1D interpolator. Returns Geant4 type as that's what will be needed.
BDSArray1DCoords * array
The field data.
virtual BDSExtent Extent() const
Extent of field.
const BDSArray1DCoords * Array() const
Accessor for the underlying array data.
Interface for all interpolators containing basic extent of validity.