Exemple #1
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     if (mAxis3 > 0)
     {
         xml.AppendChild(Axis1.GetXML(xml.OwnerDocument, "Axis3", this, processed));
     }
 }
Exemple #2
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     if (mAxis1 > 0)
     {
         xml.AppendChild(Axis1.GetXML(xml.OwnerDocument, "Axis1", this, processed));
     }
     if (mAxis2 > 0)
     {
         xml.AppendChild(Axis2.GetXML(xml.OwnerDocument, "Axis2", this, processed));
     }
     xml.AppendChild(LocalOrigin.GetXML(xml.OwnerDocument, "LocalOrigin", this, processed));
     if (!double.IsNaN(mScale))
     {
         xml.SetAttribute("Scale", mScale.ToString());
     }
 }