public class Ring extends AcceleratorSeqCombo
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
s_strType
node type
|
_sequences, m_arrNodes, m_bucSequence, nodeTablechannelSuite, m_bolIsSoft, m_bolStatus, m_bolValid, m_bucAlign, m_bucAper, m_bucTwiss, m_dblLen, m_dblPos, m_dblS, m_mapAttrs, m_objAccel, m_seqParent, m_strEId, m_strId, m_strPId| Constructor and Description |
|---|
Ring(java.lang.String strID,
Accelerator accelerator,
DataAdaptor adaptor)
Constructor
|
Ring(java.lang.String strID,
java.util.List<AcceleratorSeq> segments)
Primary Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getRelativePosition(double position,
AcceleratorNode referenceNode)
Convert the sequence position to a position relative to the specified reference node.
|
double |
getShortestRelativePosition(AcceleratorNode node,
AcceleratorNode referenceNode)
Get the shortest relative postion of one node with respect to a reference node.
|
boolean |
isLinear()
Identify whether the sequence is within a linear section.
|
equals, getAllInclusiveNodes, getAllNodes, getBaseConstituents, getBaseConstituentsWithQualifier, getConstituentNames, getConstituents, getConstituentsWithQualifier, getEntranceID, getInstance, getInstance, getInstance, getInstanceForRange, getInstancesForRange, getLength, getNodes, getNodeWithId, getPosition, getSequences, getSequences, getType, hashCode, writeaddBucket, addNode, addNodeAt, addSequenceChain, addSoft, appendNodesOfClassWithQualifier, appendNodesWithQualifier, canPrecede, contains, dataLabel, filterNodesByClass, filterNodesByStatus, formsRing, getAllInclusiveNodes, getAllInclusiveNodesWithQualifier, getAllNodes, getAllNodesOfType, getAllNodesWithQualifier, getAllSeqs, getDistanceBetween, getIndexOfNode, getLeaves, getNodeAt, getNodeCount, getNodes, getNodesOfClassWithQualifier, getNodesOfClassWithQualifier, getNodesOfClassWithStatus, getNodesOfType, getNodesOfType, getNodesWithQualifier, getNodesWithQualifier, getPredecessors, getPrimaryAncestor, getRelativePosition, getSequence, getSequenceBuc, getSequences, indexToAddNode, orderSequences, recurNodeSearch, recurSeqSearch, removeAllNodes, removeNode, setSequence, sortNodes, sortNodesByProximity, sortNodesByRelativePosition, update, writeDeeplychannelSuite, clear, findChannel, getAccelerator, getAlign, getAndConnectChannel, getAper, getBucket, getBuckets, getChannel, getDesignPropertyValue, getEId, getHandles, getId, getLivePropertyChannels, getLivePropertyValue, getParent, getPId, getPitchAngle, getPosition, getRollAngle, getSDisplay, getSoftType, getStatus, getTwiss, getValid, getXOffset, getYawAngle, getYOffset, getZOffset, hasBucket, hasParent, isKindOf, isMagnet, lazilyGetAndConnect, removeFromParent, setAccelerator, setAlign, setAper, setLength, setParent, setPitchAngle, setPosition, setRollAngle, setSDisplay, setStatus, setTwiss, setValid, setXOffset, setYawAngle, setYOffset, setZOffset, toStringpublic static final java.lang.String s_strType
public Ring(java.lang.String strID,
java.util.List<AcceleratorSeq> segments)
public Ring(java.lang.String strID,
Accelerator accelerator,
DataAdaptor adaptor)
public boolean isLinear()
isLinear in class AcceleratorSeqpublic double getRelativePosition(double position,
AcceleratorNode referenceNode)
getRelativePosition in class AcceleratorSeqposition - the position of a location relative to the sequence's startreferenceNode - the node relative to which we wish to get the positionpublic double getShortestRelativePosition(AcceleratorNode node, AcceleratorNode referenceNode)
getShortestRelativePosition in class AcceleratorSeqnode - the node whose relative position is soughtreferenceNode - the reference node relative to which the node's position is calculated