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