Canguro.Analysis.AreaDeformationCalculator.getDeformationAt C# (CSharp) 메소드

getDeformationAt() 개인적인 메소드

private getDeformationAt ( AreaElement area, AbstractCase abstractCase, System.Vector3 request, System.Vector3 &deformation ) : void
area Canguro.Model.AreaElement
abstractCase Canguro.Model.Load.AbstractCase
request System.Vector3
deformation System.Vector3
리턴 void
        private void getDeformationAt(AreaElement area, AbstractCase abstractCase, Vector3 request, ref Vector3 deformation)
        {
            Random myRandomizer = new Random(0);

            float max = 0.5f;

            deformation.X += max * (float)myRandomizer.NextDouble();
            deformation.Y += max * (float)myRandomizer.NextDouble();
            deformation.Z += max * (float)myRandomizer.NextDouble();
        }