Inheritance: IfcParameterizedProfileDef
Beispiel #1
0
 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;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 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++]);
     }
 }
Beispiel #4
0
 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++;
     }
 }
Beispiel #5
0
 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);
 }
Beispiel #6
0
 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++]);
 }
Beispiel #7
0
 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;
 }
Beispiel #8
0
 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;
 }
Beispiel #9
0
		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++;
		}
Beispiel #10
0
		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;
		}