internal override void ParseXml(XmlElement xml)
{
base.ParseXml(xml);
foreach (XmlNode child in xml.ChildNodes)
{
string name = child.Name;
if (string.Compare(name, "Segments") == 0)
{
List<IfcCompositeCurveSegment> segments = new List<IfcCompositeCurveSegment>(child.ChildNodes.Count);
foreach (XmlNode cn in child.ChildNodes)
{
IfcCompositeCurveSegment s = mDatabase.ParseXml<IfcCompositeCurveSegment>(cn as XmlElement);
if (s != null)
segments.Add(s);
}
Segments = segments;
}
}
if (xml.HasAttribute("SelfIntersect "))
Enum.TryParse<IfcLogicalEnum>(xml.Attributes["SelfIntersect"].Value, true, out mSelfIntersect);
}
internal override void SetXML(XmlElement xml, BaseClassIfc host, HashSet<int> processed)