59 x = std::atan2(mat.
zy(),mat.
zz());
60 y = std::atan2(-mat.
zx(),cosb);
61 z = std::atan2(mat.
yx(),mat.
xx());
65 x = std::atan2(-mat.
yz(),mat.
yy());
66 y = std::atan2(-mat.
zx(),cosb);
84 xercesc::DOMElement* scaleElement =
NewElement(tag);
85 scaleElement->setAttributeNode(
NewAttribute(
"name",name));
89 element->appendChild(scaleElement);
100 xercesc::DOMElement* rotationElement =
NewElement(tag);
101 rotationElement->setAttributeNode(
NewAttribute(
"name",name));
105 rotationElement->setAttributeNode(
NewAttribute(
"unit",
"deg"));
106 element->appendChild(rotationElement);
117 xercesc::DOMElement* positionElement =
NewElement(tag);
118 positionElement->setAttributeNode(
NewAttribute(
"name",name));
122 positionElement->setAttributeNode(
NewAttribute(
"unit",
"mm"));
123 element->appendChild(positionElement);