Module simpa.acc

Class VacuumChamber

java.lang.Object
simpa.acc.api.create.VacuumChamber

public class VacuumChamber extends Object
Represents a vacuum chamber for one or more accelerator elements in the global frame.
Author:
lbojtar
  • Constructor Details

    • VacuumChamber

      public VacuumChamber(ExtrudedSurface localSurface, org.apache.commons.math3.geometry.euclidean.threed.Rotation rot, org.apache.commons.math3.geometry.euclidean.threed.Vector3D translation, String elementName)
      Creates a translated and rotated instance of the given surface (defined in a local frame by the surface object) in the global frame.
      Parameters:
      localSurface - A surface describing the vacuum chamber in the local frame.
      rot - Rotation to be applied.
      translation - Translation to be applied.
      elementName - The name of element this chamber belongs to.
  • Method Details

    • getElementName

      public String getElementName()
      Returns:
      The name of the accelerator element this chamber belongs to.
    • getCenter

      public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getCenter()
      Returns:
      Center point in the global frame.
    • getOrientedProfiles

      public List<Profile> getOrientedProfiles()
      Returns:
      The oriented profiles this chamber is presented by in the global frame.
    • toFile

      public void toFile(String f)
      Writes all profiles into a file.
      Parameters:
      f - A file name.