Exemple #1
0
 public CMLoad_12(float fF,
     CMember member_aux,
     EMLoadTypeDistr mLoadTypeDistr,
     EMLoadType mLoadType,
     EMLoadDirPCC1 eDirPPC,
     bool bIsDislayed,
     int fTime)
 {
     FF = fF;
     Member = member_aux;
     MLoadTypeDistr = mLoadTypeDistr;
     MLoadType = mLoadType;
     EDirPPC = eDirPPC;
     BIsDisplayed = bIsDislayed;
     FTime = fTime;
 }
Exemple #2
0
        public ENLoadType TransformLoadTypefroMemberToPoint(EMLoadDirPCC1 eDirPPC, EMLoadType eMLoadType)
        {
            ENLoadType nLoadType = ENLoadType.eNLT_OTHER; // Auxliary

            if (eMLoadType == EMLoadType.eMLT_F) // Force
            {
                if (eDirPPC == EMLoadDirPCC1.eMLD_PCC_FXX_MXX)
                {
                    nLoadType = ENLoadType.eNLT_Fx;
                }
                else if (eDirPPC == EMLoadDirPCC1.eMLD_PCC_FYU_MZV)
                {
                    nLoadType = ENLoadType.eNLT_Fy;
                }
                else if (eDirPPC == EMLoadDirPCC1.eMLD_PCC_FZV_MYU)
                {
                    nLoadType = ENLoadType.eNLT_Fz;
                }
            }
            else if (eMLoadType == EMLoadType.eMLT_M) // Moment
            {
                if (eDirPPC == EMLoadDirPCC1.eMLD_PCC_FXX_MXX)
                {
                    nLoadType = ENLoadType.eNLT_Mx;
                }
                else if (eDirPPC == EMLoadDirPCC1.eMLD_PCC_FYU_MZV)
                {
                    nLoadType = ENLoadType.eNLT_Mz;
                }
                else if (eDirPPC == EMLoadDirPCC1.eMLD_PCC_FZV_MYU)
                {
                    nLoadType = ENLoadType.eNLT_My;
                }
            }
            else
            {
                nLoadType = ENLoadType.eNLT_OTHER;
            } //Temperature

            return nLoadType;
        }
Exemple #3
0
        public CMLoad_21(float fq,
            CMember member_aux,
            EMLoadTypeDistr mLoadTypeDistr,
            EMLoadType mLoadType,
            EMLoadDirPCC1 eDirPPC,
            bool bIsDislayed,
            int fTime)
        {
            Fq = fq;
            Member = member_aux;
            MLoadTypeDistr = mLoadTypeDistr;
            MLoadType = mLoadType;
            EDirPPC = eDirPPC;
            BIsDisplayed = bIsDislayed;
            FTime = fTime;

            // Set Load Model "material" Color and Opacity - default
            m_Color = Color.FromRgb(200, 20, 20);
            m_Material.Brush = new SolidColorBrush(m_Color);
            m_Material.Brush.Opacity = m_fOpacity = 0.9f;
        }