Inheritance: IfcParameterizedProfileDef
Beispiel #1
0
 internal IfcLShapeProfileDef(IfcLShapeProfileDef p)
     : base(p)
 {
     mDepth        = p.mDepth;
     mWidth        = p.mWidth;
     mThickness    = p.mThickness;
     mFilletRadius = p.mFilletRadius;
     mEdgeRadius   = p.mEdgeRadius;
     mLegSlope     = p.mLegSlope;
 }
Beispiel #2
0
 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;
 }
Beispiel #3
0
 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;
     }
 }
Beispiel #4
0
 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++]);
     }
 }
Beispiel #5
0
 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);
 }
Beispiel #6
0
 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++]);
     }
 }
Beispiel #7
0
 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;
 }
Beispiel #8
0
 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;
 }
Beispiel #9
0
		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;
		}
Beispiel #10
0
		internal IfcLShapeProfileDef(IfcLShapeProfileDef p)
			: base(p)
		{
			mDepth = p.mDepth;
			mWidth = p.mWidth;
			mThickness = p.mThickness;
			mFilletRadius = p.mFilletRadius;
			mEdgeRadius = p.mEdgeRadius;
			mLegSlope = p.mLegSlope;
		}