Smoothing
MeshProcessing.explicitcurvatureflow
— Methodmesh = explicitcurvatureflow(mesh[; dt=0.5, n=10, ifixed=Set{Int}()])
Smooth mesh
by explicit curvature flow:
- time step
dt
- number of iterations
n
- fixed vertices
ifixed
can beSet{Int}
, vector of indices or:boundary
MeshProcessing.implicitcurvatureflow
— Methodmesh = implicitcurvatureflow(mesh[; dt=0.1, ifixed=Set{Int}()])
Smooth mesh by implicit curvature flow.
- time step
dt
- fixed vertices
ifixed
can beSet{Int}
, vector of indices or:boundary
MeshProcessing.scalesurfacearea
— Methodscaledmesh = scalesurfacearea(mesh[; area=4π, maxiter=8, rtol=0.001))
Scale mesh such that surfacearea(mesh) ≈ area
.