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
 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
 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
 internal static IfcWindowPanelProperties Parse(string strDef)
 {
     IfcWindowPanelProperties p = new IfcWindowPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return(p);
 }
示例#6
0
 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
 internal static IfcWindowPanelProperties Parse(string strDef)
 {
     IfcWindowPanelProperties p = new IfcWindowPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p;
 }
示例#8
0
 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
		internal IfcWindowPanelProperties(IfcWindowPanelProperties p)
			: base(p)
		{
			mOperationType = p.mOperationType;
			mPanelPosition = p.mPanelPosition;
			mFrameDepth = p.mFrameDepth;
			mFrameThickness = p.mFrameThickness;
			mShapeAspectStyle = p.mShapeAspectStyle;
		}