libigl v2.5.0
Loading...
Searching...
No Matches
lscm.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2023 Alec Jacobson
4//
5// This Source Code Form is subject to the terms of the Mozilla Public License
6// v. 2.0. If a copy of the MPL was not distributed with this file, You can
7// obtain one at http://mozilla.org/MPL/2.0/.
8#ifndef IGL_SPECTRA_LSCM_H
9#define IGL_SPECTRA_LSCM_H
10#include "../igl_inline.h"
11
12#include <Eigen/Dense>
13#include <Eigen/Sparse>
14
15namespace igl
16{
17namespace spectra
18{
34 template <
35 typename DerivedV,
36 typename DerivedF,
37 typename DerivedV_uv>
39 const Eigen::MatrixBase<DerivedV> & V,
40 const Eigen::MatrixBase<DerivedF> & F,
41 Eigen::PlainObjectBase<DerivedV_uv> & V_uv);
42}
43}
44
45#ifndef IGL_STATIC_LIBRARY
46# include "lscm.cpp"
47#endif
48
49#endif
50
#define IGL_INLINE
Definition igl_inline.h:15
bool lscm(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedV_uv > &V_uv)
Compute a free-boundary least-squares conformal map parametrization.
Definition AABB.h:17