EGI.smooth_area
- EGI.smooth_area(fixed=None, kmax=100, damping=0.5, callback=None, callback_args=None)
- Smooth a mesh by moving each vertex to the barycenter of the centroids of the surrounding faces, weighted by area. - Parameters
- mesh (Mesh) – A mesh object. 
- fixed (list, optional) – The fixed vertices of the mesh. 
- kmax (int, optional) – The maximum number of iterations. 
- damping (float, optional) – The damping factor. 
- callback (callable, optional) – A user-defined callback function to be executed after every iteration. 
- callback_args (list, optional) – A list of arguments to be passed to the callback. 
 
- Raises
- Exception – If a callback is provided, but it is not callable. 
 - Examples - >>>