internal IfcUShapeProfileDef(DatabaseIfc db, IfcUShapeProfileDef p) : base(db, p) { mDepth = p.mDepth; mFlangeWidth = p.mFlangeWidth; mWebThickness = p.mWebThickness; mFlangeThickness = p.mFlangeThickness; mFilletRadius = p.mFilletRadius; mEdgeRadius = p.mEdgeRadius; mFlangeSlope = p.mFlangeSlope; mCentreOfGravityInX = p.mCentreOfGravityInX; }
internal IfcUShapeProfileDef(IfcUShapeProfileDef p) : base(p) { mDepth = p.mDepth; mFlangeWidth = p.mFlangeWidth; mWebThickness = p.mWebThickness; mFlangeThickness = p.mFlangeThickness; mFilletRadius = p.mFilletRadius; mEdgeRadius = p.mEdgeRadius; mFlangeSlope = p.mFlangeSlope; }
internal static void parseFields(IfcUShapeProfileDef p, List <string> arrFields, ref int ipos, ReleaseVersion schema) { IfcParameterizedProfileDef.parseFields(p, arrFields, ref ipos); p.mDepth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWebThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFilletRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mEdgeRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeSlope = ParserSTEP.ParseDouble(arrFields[ipos++]); if (schema == ReleaseVersion.IFC2x3) { p.mCentreOfGravityInX = ParserSTEP.ParseDouble(arrFields[ipos++]); } }
internal static void parseFields(IfcUShapeProfileDef p, List <string> arrFields, ref int ipos, Schema schema) { IfcParameterizedProfileDef.parseFields(p, arrFields, ref ipos); p.mDepth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWebThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFilletRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mEdgeRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeSlope = ParserSTEP.ParseDouble(arrFields[ipos++]); if (schema == Schema.IFC2x3) { ipos++; } }
internal static IfcUShapeProfileDef Parse(string strDef, ReleaseVersion schema) { IfcUShapeProfileDef p = new IfcUShapeProfileDef(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos, schema); return(p); }
internal static void parseFields(IfcUShapeProfileDef p, List<string> arrFields, ref int ipos,ReleaseVersion schema) { IfcParameterizedProfileDef.parseFields(p, arrFields, ref ipos); p.mDepth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWebThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFilletRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mEdgeRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeSlope = ParserSTEP.ParseDouble(arrFields[ipos++]); if(schema == ReleaseVersion.IFC2x3) p.mCentreOfGravityInX = ParserSTEP.ParseDouble(arrFields[ipos++]); }
internal static IfcUShapeProfileDef Parse(string strDef, ReleaseVersion schema) { IfcUShapeProfileDef p = new IfcUShapeProfileDef(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos,schema); return p; }
internal static void parseFields(IfcUShapeProfileDef p, List<string> arrFields, ref int ipos,Schema schema) { IfcParameterizedProfileDef.parseFields(p, arrFields, ref ipos); p.mDepth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mWebThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeThickness = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFilletRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mEdgeRadius = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mFlangeSlope = ParserSTEP.ParseDouble(arrFields[ipos++]); if (schema == Schema.IFC2x3) ipos++; }