Canguro.Model.Section.Rectangular.UpdataData C# (CSharp) Method

UpdataData() private method

private UpdataData ( ) : void
return void
        private void UpdataData()
        {
            float b = t2;
            float h = t3;

            float beta = 1f / 3f - 0.21f * (b / h) * (1 - b * b * b * b / (12f * h * h * h * h));

            this.area = b * h; ;
            this.torsConst = beta * h * b * b * b;
            this.i22 = h * b * b * b / 12.0f;
            this.i33 = b * h * h * h / 12.0f;
            this.as3 = 5f * b * h / 6f;
            this.as2 = 5f * b * h / 6f;
            this.s22 = 2f * i22 / b;
            this.s33 = 2f * i33 / h;
            this.z22 = b * b * h * 0.25f;
            this.z33 = b * h * h * 0.25f;
            this.r22 = 0.2887f * b;
            this.r33 = 0.2887f * h;
        }