mosaic.operations.smooth#
- smooth(geometry, method, **kwargs)[source]#
Smooth a triangle mesh.
- Parameters:
- geometryGeometry or GeometryData
Input geometry with a TriangularMesh model.
- methodstr
Smoothing algorithm. Options are: - ‘Taubin’ : Volume-preserving Taubin smoothing - ‘Laplacian’ : Laplacian mesh smoothing - ‘Average’ : Simple neighbor averaging
- Returns:
mosaic.geometry.GeometryDataor NoneSmoothed geometry, or None if input has no mesh model.