Inheritance: BaseClassIfc, IfcProductRepresentationSelect
示例#1
0
 internal override void ParseXml(XmlElement xml)
 {
     base.ParseXml(xml);
     foreach (XmlNode child in xml.ChildNodes)
     {
         string name = child.Name;
         if (string.Compare(name, "RepresentationMaps") == 0)
         {
             List <IfcRepresentationMap> repMaps = new List <IfcRepresentationMap>(child.ChildNodes.Count);
             foreach (XmlNode cn in child.ChildNodes)
             {
                 IfcRepresentationMap rm = mDatabase.ParseXml <IfcRepresentationMap>(cn as XmlElement);
                 if (rm != null)
                 {
                     repMaps.Add(rm);
                 }
             }
             RepresentationMaps = repMaps;
         }
     }
     if (xml.HasAttribute("Tag"))
     {
         Tag = xml.Attributes["Tag"].Value;
     }
 }
示例#2
0
		internal static void parseFields(IfcRepresentationMap rm, List<string> arrFields, ref int ipos) { rm.mMappingOrigin = ParserSTEP.ParseLink(arrFields[ipos++]); rm.mMappedRepresentation = ParserSTEP.ParseLink(arrFields[ipos++]); }
示例#3
0
		internal static IfcRepresentationMap Parse(string strDef) { IfcRepresentationMap m = new IfcRepresentationMap(); int ipos = 0; parseFields(m, ParserSTEP.SplitLineFields(strDef), ref ipos); return m; }
示例#4
0
		internal IfcRepresentationMap(IfcRepresentationMap p) : base() { mMappingOrigin = p.mMappingOrigin; mMappedRepresentation = p.mMappedRepresentation; }
示例#5
0
		internal IfcMappedItem(IfcRepresentationMap rm, IfcCartesianTransformationOperator co) : base(rm.mDatabase) { mMappingSource = rm.mIndex; mMappingTarget = co.mIndex; }