public Section(IList <PointD> coordinates) { Coordinates = checkIfCoordinatesAreClockwise(coordinates); calculateExtrementsAndDepth(); Cz = SectionProperties.Cz(Coordinates, MaxY); IntegrationPointY = MinY; }
private SectionSlice calculateProperties(IList <PointD> coordinates) { SectionSlice slice = new SectionSlice(); slice.Area = SectionProperties.A(coordinates); slice.CentreOfGravityY = SectionProperties.Cz(coordinates); return(slice); }
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); }