GeometryGym.Ifc.IfcSurfaceOfLinearExtrusion.ParseXml C# (CSharp) Méthode

ParseXml() private méthode

private ParseXml ( XmlElement xml ) : void
xml XmlElement
Résultat void
        internal override void ParseXml(XmlElement xml)
        {
            base.ParseXml(xml);

            foreach (XmlNode child in xml.ChildNodes)
            {
                string name = child.Name;
                if (string.Compare(name, "ExtrudedDirection") == 0)
                    ExtrudedDirection = mDatabase.ParseXml<IfcDirection>(child as XmlElement);
            }
            if (xml.HasAttribute("Depth"))
                mDepth = double.Parse(xml.Attributes["Depth"].Value);
        }
IfcSurfaceOfLinearExtrusion