public void designPipe ( double [ ] [ ] diameters , double tau , double g , double maxd , double c , StringBuilder strWarnings ) { switch ( this . pipeSectionType ) { case 1 : designCircularPipe ( diameters , tau , g , maxd , strWarnings ) ; break ; case 2 : designRectangularPipe ( tau , g , maxd , c , strWarnings ) ; break ; case 3 : designTrapeziumPipe ( tau , g , maxd , c , strWarnings ) ; break ; default : designCircularPipe ( diameters , tau , g , maxd , strWarnings ) ; break ; } }
Calculate the dimension of the pipes .