Parametrization
MeshProcessing.equidistantbcond
— Methodi, u = equidistantbcond(mesh, n)
refactor and use longestboundaryloop
...
Assumes mesh with single boundary loop.
MeshProcessing.lscm
— Methoduvmesh = lscm(mesh[;bcond])
Compute Least-Squares Conformal Maps parametrization for given boundary conditions bcond = (idx, uv)
.
If bcond
is not given, use mostdistantboundaryverticesbcond
.
See also spectrallscm
MeshProcessing.mostdistantboundaryvertices
— Methodi, j, dist = mostdistantboundaryvertices(mesh)
Find pair (i, j)
of most distant vertices on longestboundaryloop
, the distance is returned in dist
.
See also mostdistantboundaryverticesbcond
MeshProcessing.mostdistantboundaryverticesbcond
— Methodi, u = mostdistantboundaryverticesbcond(mesh)
Define boundary conditions for parametrization from pair of mostdistantboundaryvertices
.
The indices are retruned as i ::Vector{Int}, and
u = [0 1; 0 1]`.
See also mostdistantboundaryverticesbcond
MeshProcessing.spectrallscm
— Methoduvmesh = spectrallscm(mesh)
Compute spectral lscm
parametrization for given boundary conditions bcond = (idx, uv)
.
Experimental code. There are few options, I'm still playing with various solver for GEPs. See comments.
See also lscm