Package xal.smf.attr

Class ApertureBucket

java.lang.Object
xal.smf.attr.AttributeBucket
xal.smf.attr.ApertureBucket
All Implemented Interfaces:
Serializable, DataListener

public class ApertureBucket extends AttributeBucket
The aperture bucket defines the inner geometry of the elements.

For elements with constant aperture, set a single value for x and y.

For elements with more complicated geometry, use the array "pos" to define the apertures "x" and "y" (also arrays of the same length) at different points in the element. The first and last points should correspond to the ends of the element.

Version:
1.0, 2.0
Author:
Christopher K. Allen, Juan F. Esteban Müller <JuanF.EstebanMuller@esss.se>
See Also:
  • Field Details

  • Constructor Details

    • ApertureBucket

      public ApertureBucket()
      Creates new ApertureBucket
  • Method Details

    • getType

      public String getType()
      Furnish a unique type id
      Specified by:
      getType in class AttributeBucket
    • getAttrNames

      public String[] getAttrNames()
      Overrides:
      getAttrNames in class AttributeBucket
    • getShape

      public int getShape()
    • getAperX

      public double[] getAperX()
    • getAperY

      public double[] getAperY()
    • getAperPos

      public double[] getAperPos()
    • setShape

      public void setShape(int intVal)
    • setAperX

      public void setAperX(double dblVal)
    • setAperY

      public void setAperY(double dblVal)
    • setAperPos

      public void setAperPos(double dblVal)
    • setAperX

      public void setAperX(double[] dblArr)
    • setAperY

      public void setAperY(double[] dblArr)
    • setAperPos

      public void setAperPos(double[] dblArr)