Ejemplo n.º 1
0
		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++]);
			}
		}
Ejemplo n.º 2
0
		internal IfcRelAssociatesProfileProperties(IfcRelAssociatesProfileProperties i) : base(i) { mRelatingProfileProperties = i.mRelatingProfileProperties; mProfileSectionLocation = i.mProfileSectionLocation; mProfileOrientation = i.mProfileOrientation; }
Ejemplo n.º 3
0
		internal static IfcRelAssociatesProfileProperties Parse(string strDef) { IfcRelAssociatesProfileProperties a = new IfcRelAssociatesProfileProperties(); int ipos = 0; parseFields(a, ParserSTEP.SplitLineFields(strDef), ref ipos); return a; }
Ejemplo n.º 4
0
		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 };
		}