// Token: 0x060001C9 RID: 457 RVA: 0x0000C14C File Offset: 0x0000A34C
        internal override void WriteToPXML(ItSteel steelBlock, ICollection <ExportReinfData> exportedElements)
        {
            ItBracedGirderData itBracedGirderData = new ItBracedGirderData(this.Girder, base.MatWcsToPalette, 0.0);

            ItBracedGirderData.DataInFeet cncdata = itBracedGirderData.GetCNCData(1, base.MinZ);
            ItGirder itGirder = new ItGirder();

            itGirder.PieceCount   = 1;
            itGirder.X            = steelBlock.OffsetX(cncdata.X);
            itGirder.Y            = steelBlock.OffsetY(cncdata.Y);
            itGirder.Z            = steelBlock.OffsetZ(cncdata.InstallationHeight);
            itGirder.GirderName   = this.Girder.Element.Name;
            itGirder.Length       = cncdata.Length;
            itGirder.AngleToX     = Math.Round(ItAngle.toDegree(cncdata.Angle), 10);
            itGirder.Height       = cncdata.Height;
            itGirder.Weight       = cncdata.Weight;
            itGirder.GirderType   = 0;
            itGirder.MountingType = 0;
            itGirder.Width        = 0.0;
            steelBlock.girderList.Add(itGirder);
            exportedElements.Add(new ExportReinfData
            {
                Id         = this.Girder.Id,
                ExportedAs = ExportReinfData.ExportType.AsGirder
            });
        }
示例#2
0
 // Token: 0x06000043 RID: 67 RVA: 0x00003DA9 File Offset: 0x00001FA9
 public ItBracedGirderData(ItBracedGirderData girderData)
 {
     this.midline            = girderData.midline;
     this.height             = girderData.height;
     this.linealWeight       = this.linealWeight;
     this.upperChordDiameter = this.upperChordDiameter;
 }
示例#3
0
        // Token: 0x06000046 RID: 70 RVA: 0x00003F84 File Offset: 0x00002184
        public bool isSimilarTypeAs(ItBracedGirderData otherGirderData)
        {
            bool flag = otherGirderData.isNull() || this == otherGirderData;
            bool result;

            if (flag)
            {
                result = false;
            }
            else
            {
                bool flag2 = this.famInst.Element.Symbol.Id != otherGirderData.famInst.Element.Symbol.Id || !this.midline.isParallelTo(otherGirderData.midline, null) || this.midline.length().Ne(otherGirderData.midline.length(), -1.0);
                if (flag2)
                {
                    result = false;
                }
                else
                {
                    ItGeLineSeg3d line = new ItGeLineSeg3d(this.midline.midPoint, otherGirderData.midline.midPoint);
                    result = this.midline.isPerpendicularTo(line, null);
                }
            }
            return(result);
        }
        // Token: 0x060001CA RID: 458 RVA: 0x0000C278 File Offset: 0x0000A478
        internal override void WriteToUnitechnik(ICollection <ExportReinfData> exportedElements)
        {
            ItBracedGirderData item = new ItBracedGirderData(this.Girder, base.MatWcsToPalette, 0.0);

            base.CNCElementData.Girders.Add(item);
        }