Computation of areas and volumes