Class ApertureImpl
- java.lang.Object
- 
- cern.accsoft.steering.jmad.domain.aperture.ApertureImpl
 
- 
- 
Constructor SummaryConstructors Constructor Description ApertureImpl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMarker(java.lang.String name, double pos)voidaddSlice(ApertureSlice newSlice)java.util.List<ApertureSlice>getApertureSlices()java.lang.DoublegetMarkerPos(java.lang.String markerName)java.util.List<java.lang.Double>getMaxValues(JMadPlane plane, boolean aroundTrajectory)get the maximum values for the given planejava.util.List<java.lang.Double>getMinValues(JMadPlane plane, boolean aroundTrajectory)get the minimum values for the given planejava.util.List<java.lang.String>getMissedMarkers()this list will be changed by the reader!java.util.List<java.lang.Double>getSValues()java.util.List<java.lang.Double>getXmaxValues(boolean aroundTrajectory)java.util.List<java.lang.Double>getXminValues(boolean aroundTrajectory)java.util.List<java.lang.Double>getYmaxValues(boolean aroundTrajectory)java.util.List<java.lang.Double>getYminValues(boolean aroundTrajectory)booleanisIndexLoaded()
 
- 
- 
- 
Method Detail- 
getMaxValuespublic java.util.List<java.lang.Double> getMaxValues(JMadPlane plane, boolean aroundTrajectory) Description copied from interface:Apertureget the maximum values for the given plane- Specified by:
- getMaxValuesin interface- Aperture
- Parameters:
- plane- the plane for which to retrieve the maximum Values
- aroundTrajectory- if- truethe aperture around the nominal beam trajectory is returned, otherwise the aperture as defined.
- Returns:
- the maximum values for the given plane
 
 - 
getMinValuespublic java.util.List<java.lang.Double> getMinValues(JMadPlane plane, boolean aroundTrajectory) Description copied from interface:Apertureget the minimum values for the given plane- Specified by:
- getMinValuesin interface- Aperture
- Parameters:
- plane- the plane for which to retrieve the minValues
- aroundTrajectory- if- truethe aperture around the nominal beam trajectory is returned, otherwise the aperture as defined.
- Returns:
- the minimum Values for the given plane
 
 - 
getSValuespublic java.util.List<java.lang.Double> getSValues() - Specified by:
- getSValuesin interface- Aperture
- Returns:
- the s-Positions of the ApertureSequence
 
 - 
getXminValuespublic java.util.List<java.lang.Double> getXminValues(boolean aroundTrajectory) - Specified by:
- getXminValuesin interface- Aperture
- Parameters:
- aroundTrajectory- if- truethe aperture around the nominal beam trajectory is returned, otherwise the aperture as defined.
- Returns:
- the minimum values in the x-plane
 
 - 
getXmaxValuespublic java.util.List<java.lang.Double> getXmaxValues(boolean aroundTrajectory) - Specified by:
- getXmaxValuesin interface- Aperture
- Parameters:
- aroundTrajectory- if- truethe aperture around the nominal beam trajectory is returned, otherwise the aperture as defined.
- Returns:
- the maximum values in the x-plane
 
 - 
getYminValuespublic java.util.List<java.lang.Double> getYminValues(boolean aroundTrajectory) - Specified by:
- getYminValuesin interface- Aperture
- Parameters:
- aroundTrajectory- if- truethe aperture around the nominal beam trajectory is returned, otherwise the aperture as defined.
- Returns:
- the minimum values in the y plane
 
 - 
getYmaxValuespublic java.util.List<java.lang.Double> getYmaxValues(boolean aroundTrajectory) - Specified by:
- getYmaxValuesin interface- Aperture
- Parameters:
- aroundTrajectory- if- truethe aperture around the nominal beam trajectory is returned, otherwise the aperture as defined.
- Returns:
- the maximum values in the y plane
 
 - 
addMarkerpublic void addMarker(java.lang.String name, double pos)
 - 
addSlicepublic void addSlice(ApertureSlice newSlice) 
 - 
getMissedMarkerspublic java.util.List<java.lang.String> getMissedMarkers() this list will be changed by the reader!- Returns:
- the list of missed markers
 
 - 
getMarkerPospublic java.lang.Double getMarkerPos(java.lang.String markerName) 
 - 
getApertureSlicespublic java.util.List<ApertureSlice> getApertureSlices() 
 - 
isIndexLoadedpublic boolean isIndexLoaded() 
 
- 
 
-