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

LineElement() private method

Constructora de copia que inicializa el LineElement como un clon de otro.
private LineElement ( LineElement src, Joint i, Joint j ) : System
src LineElement El LineElement a copiar
i Joint
j Joint
return System
        internal LineElement(LineElement src, Joint i, Joint j) : base(src)
        {
            props = (LineProps)src.Properties.Clone();
            joints = new Joint[2];
            angle = src.Angle;
            cardinalPoint = src.CardinalPoint;
            offsets = src.EndOffsets;
            dofI = src.DoFI;
            dofJ = src.DoFJ;
            joints[0] = i;
            joints[1] = j;
        }

Same methods

LineElement::LineElement ( LineProps prototype ) : System
LineElement::LineElement ( LineProps prototype, Joint i, Joint j ) : System