Beispiel #1
0
 public Section(IList <PointD> coordinates)
 {
     Coordinates = checkIfCoordinatesAreClockwise(coordinates);
     calculateExtrementsAndDepth();
     Cz = SectionProperties.Cz(Coordinates, MaxY);
     IntegrationPointY = MinY;
 }
Beispiel #2
0
        private SectionSlice calculateProperties(IList <PointD> coordinates)
        {
            SectionSlice slice = new SectionSlice();

            slice.Area             = SectionProperties.A(coordinates);
            slice.CentreOfGravityY = SectionProperties.Cz(coordinates);
            return(slice);
        }
Beispiel #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);
        }