Example #1
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     xml.AppendChild(BasisSurface.GetXML(xml.OwnerDocument, "BasisSurface", this, processed));
     xml.SetAttribute("PointParameterU", mPointParameterU.ToString());
     xml.SetAttribute("PointParameterV", mPointParameterV.ToString());
 }
Example #2
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     xml.AppendChild(BasisSurface.GetXML(xml.OwnerDocument, "BasisSurface", this, processed));
     xml.SetAttribute("U1", mU1.ToString());
     xml.SetAttribute("V1", mV1.ToString());
     xml.SetAttribute("U2", mU2.ToString());
     xml.SetAttribute("V2", mV2.ToString());
     xml.SetAttribute("Usense", mUsense.ToString());
     xml.SetAttribute("Vsense", mVsense.ToString());
 }
Example #3
0
 internal override void SetXML(XmlElement xml, BaseClassIfc host, Dictionary <int, XmlElement> processed)
 {
     base.SetXML(xml, host, processed);
     xml.AppendChild(BasisSurface.GetXML(xml.OwnerDocument, "BasisSurface", this, processed));
     xml.AppendChild(OuterBoundary.GetXML(xml.OwnerDocument, "OuterBoundary", this, processed));
     if (mInnerBoundaries.Count > 0)
     {
         XmlElement element = xml.OwnerDocument.CreateElement("InnerBoundaries");
         xml.AppendChild(element);
         foreach (IfcCurve c in InnerBoundaries)
         {
             element.AppendChild(c.GetXML(xml.OwnerDocument, "", this, processed));
         }
     }
 }