1#ifndef OPAL_SFunction_HH
2#define OPAL_SFunction_HH
46 static double arcIn();
58 void update(
double length);
SFunction()
Default constructor.
static double arcIn()
Return arc length at entrance SI().
void operator=(const SFunction &)
static double arcOut()
Return arc length at exit SO().
void reset()
Reset the arc length to zero.
static const SFunction * sfun
static double arcCtr()
Return arc length at center SC().
double position(double flag) const
SFunction(const SFunction &)
void update(double length)
Advance position by element length.