コード例 #1
0
 public Section(IList <PointD> coordinates)
 {
     Coordinates = checkIfCoordinatesAreClockwise(coordinates);
     calculateExtrementsAndDepth();
     Cz = SectionProperties.Cz(Coordinates, MaxY);
     IntegrationPointY = MinY;
 }
コード例 #2
0
ファイル: CompressionZone.cs プロジェクト: StruCal/StruCal
        private SectionSlice calculateProperties(IList <PointD> coordinates)
        {
            SectionSlice slice = new SectionSlice();

            slice.Area             = SectionProperties.A(coordinates);
            slice.CentreOfGravityY = SectionProperties.Cz(coordinates);
            return(slice);
        }
コード例 #3
0
        public static double CompressionCapacity(IList <PointD> sectionCoordinates, Concrete concrete)
        {
            if (sectionCoordinates.Count == 0)
            {
                return(0);
            }
            var    section        = new Section(sectionCoordinates);
            double areaOfConcrete = SectionProperties.A(section.Coordinates);

            return(areaOfConcrete * concrete.Fcd);
        }