Inheritance: BaseClassIfc, IfcProductRepresentationSelect
Ejemplo 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;
     }
 }
Ejemplo 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++]); }
Ejemplo 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; }
Ejemplo n.º 4
0
		internal IfcRepresentationMap(IfcRepresentationMap p) : base() { mMappingOrigin = p.mMappingOrigin; mMappedRepresentation = p.mMappedRepresentation; }
Ejemplo n.º 5
0
		internal IfcMappedItem(IfcRepresentationMap rm, IfcCartesianTransformationOperator co) : base(rm.mDatabase) { mMappingSource = rm.mIndex; mMappingTarget = co.mIndex; }