/**
 * In civil engineering, piers are often used to support structures such as bridges or buildings.
 * This function takes a list of existing pier dimensions and a list of new dimensions, and updates the pier dimensions accordingly.
 * The pier dimensions are represented as a list of tuples, where each tuple contains the length, width, and height of the pier.
 *
 * @param pierDimensions List of existing pier dimensions.
 * @param newDimensions List of new dimensions to be appended to the pier dimensions.
 * @return Updated list of pier dimensions after appending the new dimensions.
 */
fun updatePierDimensions(pierDimensions: MutableList<Triple<Double, Double, Double>>, newDimensions: List<Triple<Double, Double, Double>>): MutableList<Triple<Double, Double, Double>> {

    for (dimension in newDimensions) {
        pierDimensions.add(dimension)
    }
    return pierDimensions
}
/**
 * In civil engineering, piers are often used to support structures such as bridges or buildings.
 * This function takes a list of existing pier dimensions and a list of new dimensions, and updates the pier dimensions accordingly.
 * The pier dimensions are represented as a list of tuples, where each tuple contains the length, width, and height of the pier.
 *
 * @param pierDimensions List of existing pier dimensions.
 * @param newDimensions List of new dimensions to be appended to the pier dimensions.
 * @return Updated list of pier dimensions after appending the new dimensions.
 */
fun updatePierDimensions(pierDimensions: MutableList<Triple<Double, Double, Double>>, newDimensions: List<Triple<Double, Double, Double>>): MutableList<Triple<Double, Double, Double>> {
/**
 * In civil engineering, piers are often used to support structures such as bridges or buildings.
 * This function takes a list of existing pier dimensions and a list of new dimensions, and updates the pier dimensions accordingly.
 * The pier dimensions are represented as a list of tuples, where each tuple contains the length, width, and height of the pier.
 *
 * @param pierDimensions List of existing pier dimensions.
 * @param newDimensions List of new dimensions to be appended to the pier dimensions.
 * @return Updated list of pier dimensions after appending the new dimensions.
 */
fun updatePierDimensions(pierDimensions: MutableList<Triple<Double, Double, Double>>, newDimensions: List<Triple<Double, Double, Double>>): MutableList<Triple<Double, Double, Double>> {

    for (dimension in newDimensions) {
        pierDimensions.add(dimension)
    }
    return pierDimensions
}