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