Inheritance: GeometryGym.Ifc.IfcPreDefinedPropertySet
コード例 #1
0
 internal IfcWindowPanelProperties(IfcWindowPanelProperties p)
     : base(p)
 {
     mOperationType    = p.mOperationType;
     mPanelPosition    = p.mPanelPosition;
     mFrameDepth       = p.mFrameDepth;
     mFrameThickness   = p.mFrameThickness;
     mShapeAspectStyle = p.mShapeAspectStyle;
 }
コード例 #2
0
ファイル: IFC W.cs プロジェクト: jddaigle/GeometryGymIFC
 internal static void parseFields(IfcWindowPanelProperties p, List <string> arrFields, ref int ipos)
 {
     IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos);
     p.mOperationType    = (IfcWindowPanelOperationEnum)Enum.Parse(typeof(IfcWindowPanelOperationEnum), arrFields[ipos++].Replace(".", ""));
     p.mPanelPosition    = (IfcWindowPanelPositionEnum)Enum.Parse(typeof(IfcWindowPanelPositionEnum), arrFields[ipos++].Replace(".", ""));
     p.mFrameDepth       = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mFrameThickness   = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mShapeAspectStyle = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
コード例 #3
0
ファイル: IFC W.cs プロジェクト: jddaigle/GeometryGymIFC
 internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p) : base(db, p)
 {
     mOperationType  = p.mOperationType;
     mPanelPosition  = p.mPanelPosition;
     mFrameDepth     = p.mFrameDepth;
     mFrameThickness = p.mFrameThickness;
     if (p.mShapeAspectStyle > 0)
     {
         ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect;
     }
 }
コード例 #4
0
 internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p, DuplicateOptions options) : base(db, p, options)
 {
     mOperationType  = p.mOperationType;
     mPanelPosition  = p.mPanelPosition;
     mFrameDepth     = p.mFrameDepth;
     mFrameThickness = p.mFrameThickness;
     if (p.mShapeAspectStyle != null)
     {
         ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle);
     }
 }
コード例 #5
0
ファイル: IFC W.cs プロジェクト: jddaigle/GeometryGymIFC
 internal static IfcWindowPanelProperties Parse(string strDef)
 {
     IfcWindowPanelProperties p = new IfcWindowPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return(p);
 }
コード例 #6
0
ファイル: IFC W.cs プロジェクト: jmirtsch/GeometryGymIFC
 internal static void parseFields(IfcWindowPanelProperties p, List<string> arrFields, ref int ipos)
 {
     IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos);
     p.mOperationType = (IfcWindowPanelOperationEnum)Enum.Parse(typeof(IfcWindowPanelOperationEnum), arrFields[ipos++].Replace(".", ""));
     p.mPanelPosition = (IfcWindowPanelPositionEnum)Enum.Parse(typeof(IfcWindowPanelPositionEnum), arrFields[ipos++].Replace(".", ""));
     p.mFrameDepth = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mFrameThickness = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mShapeAspectStyle = ParserSTEP.ParseLink(arrFields[ipos++]);
 }
コード例 #7
0
ファイル: IFC W.cs プロジェクト: jmirtsch/GeometryGymIFC
 internal static IfcWindowPanelProperties Parse(string strDef)
 {
     IfcWindowPanelProperties p = new IfcWindowPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p;
 }
コード例 #8
0
ファイル: IFC W.cs プロジェクト: jmirtsch/GeometryGymIFC
 internal IfcWindowPanelProperties(DatabaseIfc db, IfcWindowPanelProperties p)
     : base(db, p)
 {
     mOperationType = p.mOperationType;
     mPanelPosition = p.mPanelPosition;
     mFrameDepth = p.mFrameDepth;
     mFrameThickness = p.mFrameThickness;
     if (p.mShapeAspectStyle > 0)
         ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect;
 }
コード例 #9
0
ファイル: IFC W.cs プロジェクト: jenca-cloud/ggIFC
		internal IfcWindowPanelProperties(IfcWindowPanelProperties p)
			: base(p)
		{
			mOperationType = p.mOperationType;
			mPanelPosition = p.mPanelPosition;
			mFrameDepth = p.mFrameDepth;
			mFrameThickness = p.mFrameThickness;
			mShapeAspectStyle = p.mShapeAspectStyle;
		}