Package xal.smf.impl

Class Bend

All Implemented Interfaces:
Comparable, ElementType, MagnetType, DataListener
Direct Known Subclasses:
Bend

public class Bend extends Dipole
Bend is used to represent a normal horizontal dipole magnet rather than a corrector.
Author:
tap
  • Field Details

  • Constructor Details

  • Method Details

    • getType

      public String getType()
      Override to provide type signature
      Overrides:
      getType in class Dipole
    • getOrientation

      public int getOrientation()
      Get the orientation of the magnet as defined by MagnetType. The orientation of all bends is Horizontal.
      Specified by:
      getOrientation in interface MagnetType
      Overrides:
      getOrientation in class Magnet
      Returns:
      HORIZONTAL