Canguro.Model.AreaElement.AreaElement C# (CSharp) Method

AreaElement() private method

Constructor de copia que clona un AreaElement a partir de src
private AreaElement ( AreaElement src, Joint j1, Joint j2, Joint j3, Joint j4 ) : System
src AreaElement El AreaElement a copiar.
j1 Joint
j2 Joint
j3 Joint
j4 Joint
return System
        internal AreaElement(AreaElement src, Joint j1, Joint j2, Joint j3, Joint j4)
            : base(src)
        {
            props = (AreaProps)src.Properties.Clone();
            joints = new Joint[4];
            angle = src.Angle;
            mass = src.Mass;
            materialTemperature = src.MaterialTemperature;
            offsets = src.Offsets;
            //springs = a.Springs;
            //springs = new ManagedList<AreaSprings>();
            flipJoints = src.FlipJoints;

            joints[0] = j1;
            joints[1] = j2;
            joints[2] = j3;
            joints[3] = j4;
        }

Same methods

AreaElement::AreaElement ( AreaProps prototype ) : System
AreaElement::AreaElement ( AreaProps prototype, Joint j1, Joint j2, Joint j3, Joint j4 ) : System