/// <summary>
        /// 判断零部件是否无效,主要是判断零部件的z坐标与柱子的z坐标的关系;
        /// </summary>
        /// <param name="mrPart"></param>
        /// <returns></returns>
        private bool IsInvalidPart(CMrPart mrPart)
        {
            double mainBeamMinZ = mMainBeam.GetMinZPoint().Z;
            double mainBeamMaxZ = mMainBeam.GetMaxZPoint().Z;

            double mrPartMinZ = mrPart.GetMinZPoint().Z;
            double mrPartMaxZ = mrPart.GetMaxZPoint().Z;

            if (CDimTools.GetInstance().CompareTwoDoubleValue(mrPartMaxZ, mainBeamMinZ) < 0)
            {
                return(false);
            }
            if (CDimTools.GetInstance().CompareTwoDoubleValue(mrPartMinZ, mainBeamMaxZ) > 0)
            {
                return(false);
            }
            return(true);
        }
        /// <summary>
        /// 判断零件是否是外围板;
        /// </summary>
        /// <param name="mrPart"></param>
        /// <returns></returns>
        private bool IsOutsidePlate(CMrPart mrPart)
        {
            Vector normal = mrPart.mNormal;
            double minZ   = mrPart.GetMinZPoint().Z;
            double maxZ   = mrPart.GetMaxZPoint().Z;

            double mainBeamMinZ = CMrMainBeam.GetInstance().GetMinZPoint().Z;
            double mainBeamMaxZ = CMrMainBeam.GetInstance().GetMaxZPoint().Z;

            if (CDimTools.GetInstance().CompareTwoDoubleValue(minZ, mainBeamMaxZ) >= 0)
            {
                return(true);
            }
            if (CDimTools.GetInstance().CompareTwoDoubleValue(maxZ, mainBeamMinZ) <= 0)
            {
                return(true);
            }
            return(false);
        }