Example #1
0
        public ShellSection(string name, string shape, Material.Material material, float thicknessMembrane, float thicknessBending, ShellType type, float materialAngle, ShellDesignParams designParams)
            : base(name, shape, material)
        {
            this.thicknessBending = thicknessBending;
            this.thicknessMembrane = thicknessMembrane;
            this.shellType = type;
            this.materialAngle = materialAngle;

            if (designParams != null)
                this.designParams = designParams;
            else
                this.designParams = new ShellDesignParams();
        }
Example #2
0
        public ShellSection(string name, string shape, Material.Material material, float thicknessMembrane, float thicknessBending, ShellType type, float materialAngle, ShellDesignParams designParams)
            : base(name, shape, material)
        {
            this.thicknessBending  = thicknessBending;
            this.thicknessMembrane = thicknessMembrane;
            this.shellType         = type;
            this.materialAngle     = materialAngle;

            if (designParams != null)
            {
                this.designParams = designParams;
            }
            else
            {
                this.designParams = new ShellDesignParams();
            }
        }