Smooth Geoface

Anyone knows how the smooth mode is made in the Geoface example (especialy the averaged_vertex_normals function…what does it do ?)

Thanks