Canguro.Analysis.LineDeformationCalculator.addMomentDeflection C# (CSharp) 메소드

addMomentDeflection() 개인적인 메소드

private addMomentDeflection ( float moment, float x, float lineLength, float &angle, float c1, float c3, float EI, float scale ) : float
moment float
x float
lineLength float
angle float
c1 float
c3 float
EI float
scale float
리턴 float
        private float addMomentDeflection(float moment, float x, float lineLength, ref float angle, float c1, float c3, float EI, float scale)
        {
            if (scale < 0)
            {
                c3 = -moment * lineLength / 3f;
                angle = -scale * (-moment * x * x / (2f * lineLength) + moment * x + c3) / EI;
                return scale * moment * lineLength * (lineLength - x) * (1f - (lineLength - x) * (lineLength - x) / (lineLength * lineLength)) / (6.0f * EI);
            }
            else
            {
                angle = scale * (-moment * x * x / (2f * lineLength) + c1) / EI;
                return scale * moment * lineLength * x * (1f - x * x / (lineLength * lineLength)) / (6.0f * EI);
            }
        }

Same methods

LineDeformationCalculator::addMomentDeflection ( float moment, float lineLength, float controlPoints, float EI, float scale ) : void