public class Position extends RefElement
Constructor and Description |
---|
Position(String name)
Creates a new instance of Position at (0,0,0).
|
Position(String name,
double x,
double y,
double z) |
Position(String name,
org.jdom.Element element)
Creates a new instance of Position from an
Element . |
Modifier and Type | Method and Description |
---|---|
private double |
dim(String name) |
void |
setX(double d) |
void |
setY(double d) |
void |
setZ(double d) |
double |
x() |
double |
y() |
double |
z() |
getRefName
addContent, addContent, addContent, addContent, addContent, addNamespaceDeclaration, clone, cloneContent, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttribute, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setName, setNamespace, setText, toString
detach, equals, getDocument, getParent, getParentElement, hashCode, setParent
public Position(String name)
public Position(String name, double x, double y, double z)
public Position(String name, org.jdom.Element element)
Element
.element
- The XML element which must be called position.public void setX(double d)
public void setY(double d)
public void setZ(double d)
public double x()
public double y()
public double z()
private double dim(String name)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.