virtual void visitRBend(const RBend &)=0
Apply the algorithm to a rectangular bend.
Common OPALX interface for analytic horizontal bending magnets.
double getBendAngle() const
double getEntranceAngle() const
Abstract rectangular bend with straight body and curved reference path.
double getExitAngle() const override
void accept(BeamlineVisitor &visitor) const override
Apply visitor.
ElementType getType() const override
Get element type std::string.