Application of the Boundary Method to the determination of the properties of the beam cross-sections