internal static void parseFields(IfcRelAssociatesProfileProperties a, List<string> arrFields, ref int ipos) { IfcRelAssociates.parseFields(a, arrFields, ref ipos); a.mRelatingProfileProperties = ParserSTEP.ParseLink(arrFields[ipos++]); a.mProfileSectionLocation = ParserSTEP.ParseLink(arrFields[ipos++]); if (arrFields[ipos].StartsWith("IfcPlaneAngleMeasure(", true, System.Globalization.CultureInfo.CurrentCulture)) { string str = arrFields[ipos++]; a.mProfileOrientation = ParserSTEP.ParseDouble(str.Substring(21, str.Length - 22)); } else { a.mAngle = false; a.mProfileOrientation = ParserSTEP.ParseLink(arrFields[ipos++]); } }
internal IfcRelAssociatesProfileProperties(IfcRelAssociatesProfileProperties i) : base(i) { mRelatingProfileProperties = i.mRelatingProfileProperties; mProfileSectionLocation = i.mProfileSectionLocation; mProfileOrientation = i.mProfileOrientation; }
internal static IfcRelAssociatesProfileProperties Parse(string strDef) { IfcRelAssociatesProfileProperties a = new IfcRelAssociatesProfileProperties(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
internal IfcProfileProperties(string name, List<IfcProperty> props, IfcProfileDef p) : base(name, props) { mProfileDefinition = p.mIndex; if (p.mDatabase.mSchema == Schema.IFC2x3) mAssociates = new IfcRelAssociatesProfileProperties(this) { Name = p.ProfileName }; }