internal static void parseFields(IfcDoorPanelProperties p, List<string> arrFields, ref int ipos) { IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos); p.mPanelDepth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mOperationType = (IfcDoorPanelOperationEnum)Enum.Parse(typeof(IfcDoorPanelOperationEnum), arrFields[ipos++].Replace(".", "")); p.mPanelWidth = ParserSTEP.ParseDouble(arrFields[ipos++]); p.mPanelPosition = (IfcDoorPanelPositionEnum)Enum.Parse(typeof(IfcDoorPanelPositionEnum), arrFields[ipos++].Replace(".", "")); p.mShapeAspectStyle = ParserSTEP.ParseLink(arrFields[ipos++]); }
internal IfcDoorPanelProperties(IfcDoorPanelProperties p) : base(p) { mPanelDepth = p.mPanelDepth; mOperationType = p.mOperationType; mPanelWidth = p.mPanelWidth; mPanelPosition = p.mPanelPosition; mShapeAspectStyle = p.mShapeAspectStyle; }
internal static IfcDoorPanelProperties Parse(string strDef) { IfcDoorPanelProperties p = new IfcDoorPanelProperties(); int ipos = 0; parseFields(p, ParserSTEP.SplitLineFields(strDef), ref ipos); return p; }
internal IfcDoorPanelProperties(DatabaseIfc db, IfcDoorPanelProperties p) : base(db, p) { mPanelDepth = p.mPanelDepth; mOperationType = p.mOperationType; mPanelWidth = p.mPanelWidth; mPanelPosition = p.mPanelPosition; if (p.mShapeAspectStyle > 0) ShapeAspectStyle = db.Factory.Duplicate(p.ShapeAspectStyle) as IfcShapeAspect; }