19#ifndef BDSARRAY1DCOORDS_H
20#define BDSARRAY1DCOORDS_H
22#include "BDSArray2DCoords.hh"
23#include "BDSDimensionType.hh"
52 G4double& xFrac)
const;
57 G4double& xFrac)
const;
63 G4double t = 0)
const;
1D array with spatial mapping derived from BDSArray4DCoords.
BDSArray1DCoords()=delete
virtual void ExtractSection4(G4double x, BDSFieldValue(&localData)[4], G4double &xFrac) const
Extract 4 points lying around coordinate x, where x will be between points 2 and 3.
virtual void ExtractSection2(G4double x, BDSFieldValue(&localData)[2], G4double &xFrac) const
Extract 2 points lying around coordinate x.
virtual BDSFieldValue ExtractNearest(G4double x, G4double y=0, G4double z=0, G4double t=0) const
Extract nearest field value from array. y,z,t ignored but required for overload.
virtual BDSExtent Extent() const
friend std::ostream & operator<<(std::ostream &out, BDSArray1DCoords const &a)
Output stream.
2D array with spatial mapping derived from BDSArray4DCoords.
Holder for +- extents in 3 dimensions.