public class Rotation extends RefElement
Constructor and Description |
---|
Rotation(String name)
Creates an identity rotation called
name . |
Rotation(String name,
double rx,
double ry,
double rz)
Creates an identity rotation called
name with given
rotations about the X, Y, and Z axes. |
Rotation(String name,
org.jdom.Element element)
Create a named rotation called
name with XML element element . |
Modifier and Type | Method and Description |
---|---|
void |
setX(double d) |
void |
setY(double d) |
void |
setZ(double d) |
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 Rotation(String name)
name
.name
- The unique name of this rotation.public Rotation(String name, double rx, double ry, double rz)
name
with given
rotations about the X, Y, and Z axes.name
- The unique name of this rotation.public Rotation(String name, org.jdom.Element element)
name
with XML element element
.name
- The unique name of this rotation.element
- The XML element to be converted. It must be called "rotation".IllegalArgumentException
- If element is not called "rotation".RuntimeException
- If a DataConversionException
is caught when converting.Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.