Inheritance: BaseClassIfc, IfcProductRepresentationSelect
Esempio n. 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;
     }
 }
Esempio n. 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++]); }
Esempio n. 3
0
		internal static IfcRepresentationMap Parse(string strDef) { IfcRepresentationMap m = new IfcRepresentationMap(); int ipos = 0; parseFields(m, ParserSTEP.SplitLineFields(strDef), ref ipos); return m; }
Esempio n. 4
0
		internal IfcRepresentationMap(IfcRepresentationMap p) : base() { mMappingOrigin = p.mMappingOrigin; mMappedRepresentation = p.mMappedRepresentation; }
Esempio n. 5
0
		internal IfcMappedItem(IfcRepresentationMap rm, IfcCartesianTransformationOperator co) : base(rm.mDatabase) { mMappingSource = rm.mIndex; mMappingTarget = co.mIndex; }