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