libigl v2.5.0
Loading...
Searching...
No Matches
intrinsic_delaunay_cotmatrix.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) 2018 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_INTRINSIC_DELAUNAY_COTMATRIX_H
9#define IGL_INTRINSIC_DELAUNAY_COTMATRIX_H
10#include "igl_inline.h"
11#include <Eigen/Core>
12#include <Eigen/Sparse>
13namespace igl
14{
26 template <
27 typename DerivedV,
28 typename DerivedF,
29 typename Scalar,
30 typename Derivedl_intrinsic,
31 typename DerivedF_intrinsic>
33 const Eigen::MatrixBase<DerivedV> & V,
34 const Eigen::MatrixBase<DerivedF> & F,
35 Eigen::SparseMatrix<Scalar>& L,
36 Eigen::PlainObjectBase<Derivedl_intrinsic> & l_intrinsic,
37 Eigen::PlainObjectBase<DerivedF_intrinsic> & F_intrinsic);
39 template <typename DerivedV, typename DerivedF, typename Scalar>
41 const Eigen::MatrixBase<DerivedV> & V,
42 const Eigen::MatrixBase<DerivedF> & F,
43 Eigen::SparseMatrix<Scalar>& L);
44}
45
46#ifndef IGL_STATIC_LIBRARY
47# include "intrinsic_delaunay_cotmatrix.cpp"
48#endif
49
50#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void intrinsic_delaunay_cotmatrix(const Eigen::MatrixBase< DerivedV > &V, const Eigen::MatrixBase< DerivedF > &F, Eigen::SparseMatrix< Scalar > &L, Eigen::PlainObjectBase< Derivedl_intrinsic > &l_intrinsic, Eigen::PlainObjectBase< DerivedF_intrinsic > &F_intrinsic)
Computes the discrete cotangent Laplacian of a mesh after converting it into its intrinsic Delaunay t...