GeometryGym.Ifc.IfcLShapeProfileDef.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);
            if (xml.HasAttribute("Depth"))
                mDepth = double.Parse(xml.Attributes["Depth"].Value);
            if (xml.HasAttribute("Width"))
                mWidth = double.Parse(xml.Attributes["Width"].Value);
            if (xml.HasAttribute("WebThickness"))
                mThickness = double.Parse(xml.Attributes["Thickness"].Value);
            if (xml.HasAttribute("FilletRadius"))
                mFilletRadius = double.Parse(xml.Attributes["FilletRadius"].Value);
            if (xml.HasAttribute("EdgeRadius"))
                mEdgeRadius = double.Parse(xml.Attributes["EdgeRadius"].Value);
            if (xml.HasAttribute("LegSlope"))
                mLegSlope = double.Parse(xml.Attributes["LegSlope"].Value);
        }