예제 #1
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++]);
 }
예제 #2
0
 internal static void parseFields(IfcWindowLiningProperties p, List <string> arrFields, ref int ipos, ReleaseVersion schema)
 {
     IfcPropertySetDefinition.parseFields(p, arrFields, ref ipos);
     p.mLiningDepth         = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mLiningThickness     = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mTransomThickness    = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mMullionThickness    = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mFirstTransomOffset  = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mSecondTransomOffset = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mFirstMullionOffset  = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mSecondMullionOffset = ParserSTEP.ParseDouble(arrFields[ipos++]);
     p.mShapeAspectStyle    = ParserSTEP.ParseLink(arrFields[ipos++]);
     if (schema != ReleaseVersion.IFC2x3)
     {
         p.mLiningOffset         = ParserSTEP.ParseDouble(arrFields[ipos++]);
         p.mLiningToPanelOffsetX = ParserSTEP.ParseDouble(arrFields[ipos++]);
         p.mLiningToPanelOffsetY = ParserSTEP.ParseDouble(arrFields[ipos++]);
     }
 }