Element.SECTIONfmt, handleAsThick| Modifier | Constructor and Description |
|---|---|
protected |
ThinElement(java.lang.String name,
double position,
double len)
Creates a new instance of ThinElement
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
accept(Visitor v)
When called with a Visitor reference the implementor can either
reject to be visited (empty method body) or call the Visitor by
passing its own object reference.
|
java.util.List<Element> |
asTuple()
Return the slim element as a tuple (drift,element,drift).
|
Element |
getDownstreamDrift()
Return the downstream drift space of a slim element.
|
double |
getEffLength()
Return the effective length of this element.
|
double |
getEndPosition()
Return the (downstream) end position of this element.
|
java.lang.String |
getFam() |
double |
getLength()
Return the length of this element.
|
double |
getStartPosition()
Return the (upstream) start position of this element.
|
abstract java.lang.String |
getType()
Return the element type.
|
Element |
getUpstreamDrift()
Return the upstream drift space of a slim element.
|
java.util.List<Element> |
split(Element insert)
Split the thin element means insert it behind this.
|
java.lang.String |
toCoutString()
Return a printable String of the elment.
|
static java.lang.String |
version()
Return a version string wo the cvs keyword (i.e.
|
clone, getAcceleratorNode, getBase, getHardwareSection, getName, getPosition, isThick, setAcceleratorNode, setBase, setHardwareSection, setLength, setPosition, toAbsolutePositionprotected ThinElement(java.lang.String name,
double position,
double len)
public abstract java.lang.String getType()
public double getStartPosition()
getStartPosition in class Elementpublic double getEndPosition()
getEndPosition in class Elementpublic double getLength()
public double getEffLength()
public Element getUpstreamDrift()
public Element getDownstreamDrift()
public java.util.List<Element> asTuple()
public java.util.List<Element> split(Element insert)
public java.lang.String toCoutString()
toCoutString in class Elementpublic static java.lang.String version()
public abstract void accept(Visitor v)
accept in interface VisitorListeneraccept in class Elementv - the Visitor which wants to visit this object.