libigl v2.5.0
Loading...
Searching...
No Matches
bijective_composite_harmonic_mapping.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) 2017 Alec Jacobson <alecjacobson@gmail.com>
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_BIJECTIVE_COMPOSITE_HARMONIC_MAPPING_H
9#define IGL_BIJECTIVE_COMPOSITE_HARMONIC_MAPPING_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12
13namespace igl
14{
33 template <
34 typename DerivedV,
35 typename DerivedF,
36 typename Derivedb,
37 typename Derivedbc,
38 typename DerivedU>
40 const Eigen::MatrixBase<DerivedV> & V,
41 const Eigen::MatrixBase<DerivedF> & F,
42 const Eigen::MatrixBase<Derivedb> & b,
43 const Eigen::MatrixBase<Derivedbc> & bc,
44 Eigen::PlainObjectBase<DerivedU> & U);
54 template <
55 typename DerivedV,
56 typename DerivedF,
57 typename Derivedb,
58 typename Derivedbc,
59 typename DerivedU>
61 const Eigen::MatrixBase<DerivedV> & V,
62 const Eigen::MatrixBase<DerivedF> & F,
63 const Eigen::MatrixBase<Derivedb> & b,
64 const Eigen::MatrixBase<Derivedbc> & bc,
65 const int min_steps,
66 const int max_steps,
67 const int num_inner_iters,
68 const bool test_for_flips,
69 Eigen::PlainObjectBase<DerivedU> & U);
70}
71
72#ifndef IGL_STATIC_LIBRARY
73# include "bijective_composite_harmonic_mapping.cpp"
74#endif
75#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
bool bijective_composite_harmonic_mapping(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< Derivedb > &b, const Eigen::MatrixBase< Derivedbc > &bc, Eigen::PlainObjectBase< DerivedU > &U)
Compute a injective planar mapping of a triangulated polygon (V,F) subjected to boundary conditions (...