Inheritance: Utility.GlobalizedObject, ICloneable
        private void LoadTxtCatalog(Catalog <Section> cat, string filePath)
        {
            Stream       stream = File.Open(filePath, FileMode.Open);
            StreamReader reader = new StreamReader(stream);

            Material.Material    mat = Material.MaterialManager.Instance.DefaultSteel;
            ConcreteSectionProps csp = null;

            try
            {
                while (!reader.EndOfStream)
                {
                    string   line = reader.ReadLine();
                    string[] arr  = line.Split("\t".ToCharArray());
                    if (arr.Length == 23)
                    {
                        Section sec = NewSection(mat, csp, arr);
                        cat[sec.Name] = sec;
                    }
                }
            }
            finally
            {
                reader.Close();
                stream.Close();
            }
        }
        public static Section NewSection(Material.Material mat, ConcreteSectionProps csp, string[] arr)
        {
            if (arr.Length == 23)
            {
                switch (arr[1])
                {
                case "Double Angle":
                    return(new DoubleAngle(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                case "Channel":
                    return(new Channel(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                case "I/Wide Flange":
                    return(new IWideFlange(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                case "Box/Tube":
                    return(new BoxTube(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                case "Pipe":
                    return(new Pipe(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                case "Angle":
                    return(new Angle(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                case "Tee":
                    return(new Tee(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));

                default:
                    return(new General(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22])));
                }
            }
            return(null);
        }
示例#3
0
 public Rectangular(string name, Material.Material material, ConcreteSectionProps concreteProperties, float b, float h)
     : base(name, "R", material, concreteProperties)
 {
     t3 = h;
     t2 = b;
     initContourAndLOD();
 }
示例#4
0
        /// <summary>
        /// Constructora que asigna todas las variables que definen la sección en unidades internacionales.
        /// </summary>
        /// <param name="name">Section name</param>
        /// <param name="shape">Shape name</param>
        /// <param name="material">Material</param>
        /// <param name="concreteProperties">Concrete properties (for concrete sections only)</param>
        /// <param name="t3">Width</param>
        /// <param name="t2">Height</param>
        /// <param name="tf">Hzt plate width</param>
        /// <param name="tw">Vertical plate width</param>
        /// <param name="t2b">Other dimension</param>
        /// <param name="tfb">Other dimension</param>
        /// <param name="dis">Distance between section parts</param>
        /// <param name="area">Cross area</param>
        /// <param name="torsConst">Torsional constant</param>
        /// <param name="i33">Moment of Inertia about 3 axis</param>
        /// <param name="i22">Moment of Inertia about 2 axis</param>
        /// <param name="as2">Shear area in 2 direction</param>
        /// <param name="as3">Shear area in 3 direcion</param>
        /// <param name="s33">Section modulus about 3 axis</param>
        /// <param name="s22">Section modulus about 2 axis</param>
        /// <param name="z33">Plastic modulus about 3 axis</param>
        /// <param name="z22">Plastic modulus about 2 axis</param>
        /// <param name="r33">Radius of gyration about 3 axis</param>
        /// <param name="r22">Radius of gyration about 2 axis</param>
        public FrameSection(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw, float t2b, float tfb, float dis, float area, float torsConst, float i33, float i22, float as2, float as3, float s33, float s22, float z33, float z22, float r33, float r22)
        {
            this.shape         = shape;
            this.material      = material;
            this.concreteProps = concreteProperties;
            contour            = new Microsoft.DirectX.Vector2[2][];

            this.t3        = t3;
            this.t2        = t2;
            this.tf        = tf;
            this.tw        = tw;
            this.t2b       = t2b;
            this.tfb       = tfb;
            this.dis       = dis;
            this.area      = area;
            this.torsConst = torsConst;
            this.i33       = i33;
            this.i22       = i22;
            this.as2       = as2;
            this.as3       = as3;
            this.s33       = s33;
            this.s22       = s22;
            this.z33       = z33;
            this.z22       = z22;
            this.r33       = r33;
            this.r22       = r22;
            Name           = name;

            initContourAndLOD();
        }
示例#5
0
 public Rectangular(string name, Material.Material material, ConcreteSectionProps concreteProperties, float b, float h)
     : base(name, "R", material, concreteProperties)
 {
     t3 = h;
     t2 = b;
     initContourAndLOD();
 }
示例#6
0
 public Tee(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw)
     : base(name, shape, material, concreteProperties)
 {
     this.t3 = t3;
     this.t2 = t2;
     this.tf = tf;
     this.tw = tw;
     initContourAndLOD();
 }
示例#7
0
 public Tee(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw)
     : base(name, shape, material, concreteProperties)
 {
     this.t3 = t3;
     this.t2 = t2;
     this.tf = tf;
     this.tw = tw;
     initContourAndLOD();
 }
示例#8
0
 public Pipe(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float tw)
     : base(name, shape, material, concreteProperties)
 {
     this.t3 = t3;
     this.t2 = 0;
     this.tf = 0;
     this.tw = tw;
     this.t2b = 0;
     this.tfb = 0;
     this.dis = 0;
     initContourAndLOD();
 }
示例#9
0
 public BoxTube(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw)
     : base(name, shape, material, concreteProperties)
 {
     this.t3  = t3;
     this.t2  = t2;
     this.tf  = tf;
     this.tw  = tw;
     this.t2b = 0;
     this.tfb = 0;
     this.dis = 0;
     UpdateData();
 }
示例#10
0
 public Pipe(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float tw)
     : base(name, shape, material, concreteProperties)
 {
     this.t3  = t3;
     this.t2  = 0;
     this.tf  = 0;
     this.tw  = tw;
     this.t2b = 0;
     this.tfb = 0;
     this.dis = 0;
     initContourAndLOD();
 }
示例#11
0
 public Circle(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw, float t2b, float tfb, float dis, float area, float torsConst, float i33, float i22, float as2, float as3, float s33, float s22, float z33, float z22, float r33, float r22)
     : base(name, shape, material, concreteProperties, t3, t2, tf, tw, t2b, tfb, dis, area, torsConst, i33, i22, as2, as3, s33, s22, z33, z22, r33, r22)
 {
 }
示例#12
0
 /// <summary>
 /// Constructora que asigna nombre, forma, material y propiedades de concreto, y asigna valores default a las demás variables.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="shape"></param>
 /// <param name="material"></param>
 /// <param name="concreteProperties"></param>
 public FrameSection(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties) : this(name, shape, material, concreteProperties, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
 {
 }
示例#13
0
 /// <summary>
 /// Constructora que calcula las propiedades de una sección general a partir del contorno
 /// No está implementada en la primera versión.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="shape"></param>
 /// <param name="material"></param>
 /// <param name="concreteProperties"></param>
 /// <param name="contour"></param>
 public FrameSection(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, Microsoft.DirectX.Vector2[] contour)
 {
     throw new System.NotImplementedException("Falta un SectionDesigner que calcule las propiedades");
 }
示例#14
0
//        public Rectangular(float depth, float width) { }
        public Rectangular(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float width, float height, float torsConst, float i33, float i22, float as2, float as3, float s33, float s22, float z33, float z22, float r33, float r22)
            : base(name, shape, material, concreteProperties, height, width, 0, 0, 0, 0, 0, width * height, torsConst, i33, i22, as2, as3, s33, s22, z33, z22, r33, r22)
        {
        }
示例#15
0
 public static Section NewSection(Material.Material mat, ConcreteSectionProps csp, string[] arr)
 {
     if (arr.Length == 23)
     {
         switch (arr[1])
         {
             case "Double Angle":
                 return new DoubleAngle(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             case "Channel":
                 return new Channel(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             case "I/Wide Flange":
                 return new IWideFlange(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             case "Box/Tube":
                 return new BoxTube(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             case "Pipe":
                 return new Pipe(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             case "Angle":
                 return new Angle(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             case "Tee":
                 return new Tee(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
             default:
                 return new General(arr[0], arr[1], mat, csp, Convert.ToSingle(arr[4]), Convert.ToSingle(arr[5]), Convert.ToSingle(arr[6]), Convert.ToSingle(arr[7]), Convert.ToSingle(arr[8]), Convert.ToSingle(arr[9]), Convert.ToSingle(arr[10]), Convert.ToSingle(arr[11]), Convert.ToSingle(arr[12]), Convert.ToSingle(arr[13]), Convert.ToSingle(arr[14]), Convert.ToSingle(arr[15]), Convert.ToSingle(arr[16]), Convert.ToSingle(arr[17]), Convert.ToSingle(arr[18]), Convert.ToSingle(arr[19]), Convert.ToSingle(arr[20]), Convert.ToSingle(arr[21]), Convert.ToSingle(arr[22]));
         }
     }
     return null;
 }
示例#16
0
 private void store(OleDbConnection cn, ConcreteSectionProps obj, FrameSection section, List<Section> exported)
 {
     if (obj != null && !exported.Contains(section))
     {
         if (obj is ConcreteBeamSectionProps)
             store(cn, (ConcreteBeamSectionProps)obj, section);
         else if (obj is ConcreteColumnSectionProps)
             store(cn, (ConcreteColumnSectionProps)obj, section);
         exported.Add(section);
     }
 }
示例#17
0
 /// <summary>
 /// Constructora que asigna nombre, forma, material y propiedades de concreto, y asigna valores default a las demás variables.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="shape"></param>
 /// <param name="material"></param>
 /// <param name="concreteProperties"></param>
 public FrameSection(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties)
     : this(name, shape, material, concreteProperties, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
 {
 }
示例#18
0
 public Circle(string name, Material.Material material, ConcreteSectionProps concreteProperties, float d)
     : base(name, "RN", material, concreteProperties)
 {
     t3 = d;
     initContourAndLOD();
 }
示例#19
0
        /// <summary>
        /// Constructora que asigna todas las variables que definen la sección en unidades internacionales.
        /// </summary>
        /// <param name="name">Section name</param>
        /// <param name="shape">Shape name</param>
        /// <param name="material">Material</param>
        /// <param name="concreteProperties">Concrete properties (for concrete sections only)</param>
        /// <param name="t3">Width</param>
        /// <param name="t2">Height</param>
        /// <param name="tf">Hzt plate width</param>
        /// <param name="tw">Vertical plate width</param>
        /// <param name="t2b">Other dimension</param>
        /// <param name="tfb">Other dimension</param>
        /// <param name="dis">Distance between section parts</param>
        /// <param name="area">Cross area</param>
        /// <param name="torsConst">Torsional constant</param>
        /// <param name="i33">Moment of Inertia about 3 axis</param>
        /// <param name="i22">Moment of Inertia about 2 axis</param>
        /// <param name="as2">Shear area in 2 direction</param>
        /// <param name="as3">Shear area in 3 direcion</param>
        /// <param name="s33">Section modulus about 3 axis</param>
        /// <param name="s22">Section modulus about 2 axis</param>
        /// <param name="z33">Plastic modulus about 3 axis</param>
        /// <param name="z22">Plastic modulus about 2 axis</param>
        /// <param name="r33">Radius of gyration about 3 axis</param>
        /// <param name="r22">Radius of gyration about 2 axis</param>
        public FrameSection(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw, float t2b, float tfb, float dis, float area, float torsConst, float i33, float i22, float as2, float as3, float s33, float s22, float z33, float z22, float r33, float r22)
        {
            this.shape = shape;
            this.material = material;
            this.concreteProps = concreteProperties;
            contour = new Microsoft.DirectX.Vector2[2][];

            this.t3 = t3;
            this.t2 = t2;
            this.tf = tf;
            this.tw = tw;
            this.t2b = t2b;
            this.tfb = tfb;
            this.dis = dis;
            this.area = area;
            this.torsConst = torsConst;
            this.i33 = i33;
            this.i22 = i22;
            this.as2 = as2;
            this.as3 = as3;
            this.s33 = s33;
            this.s22 = s22;
            this.z33 = z33;
            this.z22 = z22;
            this.r33 = r33;
            this.r22 = r22;
            Name = name;

            initContourAndLOD();
        }
示例#20
0
 public Angle(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float t3, float t2, float tf, float tw, float t2b, float tfb, float dis, float area, float torsConst, float i33, float i22, float as2, float as3, float s33, float s22, float z33, float z22, float r33, float r22)
     : base(name, shape, material, concreteProperties, t3, t2, tf, tw, t2b, tfb, dis, area, torsConst, i33, i22, as2, as3, s33, s22, z33, z22, r33, r22)
 {
 }
示例#21
0
 /// <summary>
 /// Constructora que calcula las propiedades de una sección general a partir del contorno
 /// No está implementada en la primera versión.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="shape"></param>
 /// <param name="material"></param>
 /// <param name="concreteProperties"></param>
 /// <param name="contour"></param>
 public FrameSection(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, Microsoft.DirectX.Vector2[] contour)
 {
     throw new System.NotImplementedException("Falta un SectionDesigner que calcule las propiedades");
 }
示例#22
0
 public Circle(string name, Material.Material material, ConcreteSectionProps concreteProperties, float d)
     : base(name, "RN", material, concreteProperties)
 {
     t3 = d;
     initContourAndLOD();
 }
示例#23
0
 //        public Rectangular(float depth, float width) { }
 public Rectangular(string name, string shape, Material.Material material, ConcreteSectionProps concreteProperties, float width, float height, float torsConst, float i33, float i22, float as2, float as3, float s33, float s22, float z33, float z22, float r33, float r22)
     : base(name, shape, material, concreteProperties, height, width, 0, 0, 0, 0, 0, width*height, torsConst, i33, i22, as2, as3, s33, s22, z33, z22, r33, r22)
 {
 }