using StructureHelperCommon.Services.Sections;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StructureHelperCommon.Models.Sections
{
    public class CompressedMember : ICompressedMember
    {
        public bool Buckling { get; set; }
        public double GeometryLength { get; set; }
        public double LengthFactorX { get; set; }
        public double DiagramFactorX { get; set; }
        public double LengthFactorY { get; set; }
        public double DiagramFactorY { get; set; }
        

        public CompressedMember()
        {
            Buckling = true;
            GeometryLength = 3d;
            LengthFactorX = 1d;
            DiagramFactorX = 1d;
            LengthFactorY = 1d;
            DiagramFactorY = 1d;
        }

        public object Clone()
        {
            var target = new CompressedMember();
            CompressedMemberServices.CopyProperties(this, target);
            return target;
        }
    }
}
