internal static IfcFace Parse(string str) { IfcFace f = new IfcFace(); int pos = 0; f.mBounds = ParserSTEP.StripListLink(str, ref pos); return f; }
internal override void ParseXml(XmlElement xml) { base.ParseXml(xml); foreach (XmlNode child in xml.ChildNodes) { string name = child.Name; if (string.Compare(name, "CfsFaces") == 0) { foreach (XmlNode cn in child.ChildNodes) { IfcFace f = mDatabase.ParseXml <IfcFace>(cn as XmlElement); if (f != null) { AddFace(f); } } } } }
internal IfcTopologyRepresentation(IfcFace fs, string identifier) : base(fs, identifier, "Face") { }
internal static void parseFields(IfcFace f, List<string> arrFields, ref int ipos) { f.mBounds = ParserSTEP.SplitListLinks(arrFields[ipos++]); }
internal IfcFace(DatabaseIfc db, IfcFace f) : base(db,f) { Bounds = f.Bounds.ConvertAll(x=>db.Factory.Duplicate(x) as IfcFaceBound); }
internal static void parseFields(IfcFace f, List<string> arrFields, ref int ipos) { IfcTopologicalRepresentationItem.parseFields(f, arrFields, ref ipos); f.mBounds = ParserSTEP.SplitListLinks(arrFields[ipos++]); }
internal IfcFace(IfcFace i) : base(i) { mBounds = new List<int>(i.mBounds.ToArray()); }
internal IfcFace(DatabaseIfc db, IfcFace f) : base(db, f) { Bounds.AddRange(f.Bounds.ConvertAll(x => db.Factory.Duplicate(x) as IfcFaceBound)); }