
I have a function in STL which add the 'area'
attribute of a list of Rect.
float getTotalAreaPerCent(BlockDataList& bdl) {
return accumulate (bdl.begin(), bdl.end(), 0.0,
add_area_per_cent
I have a function in STL which add the 'area'
attribute of a list of Rect.
float getTotalAreaPerCent(BlockDataList& bdl) {
return accumulate (bdl.begin(), bdl.end(), 0.0,
add_area_per_cent