libigl v2.5.0
Loading...
Searching...
No Matches
average_from_edges_onto_vertices.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) 2020 Oded Stein <oded.stein@columbia.edu>
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_AVERAGE_FROM_EDGES_ONTO_VERTICES_H
9#define IGL_AVERAGE_FROM_EDGES_ONTO_VERTICES_H
10#include "igl_inline.h"
11
12#include <Eigen/Dense>
13namespace igl
14{
24 template<typename DerivedF,typename DerivedE,typename DerivedoE,
25 typename DeriveduE,typename DeriveduV>
27 const Eigen::MatrixBase<DerivedF> &F,
28 const Eigen::MatrixBase<DerivedE> &E,
29 const Eigen::MatrixBase<DerivedoE> &oE,
30 const Eigen::MatrixBase<DeriveduE> &uE,
31 Eigen::PlainObjectBase<DeriveduV> &uV);
32}
33
34#ifndef IGL_STATIC_LIBRARY
35# include "average_from_edges_onto_vertices.cpp"
36#endif
37
38#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void average_from_edges_onto_vertices(const Eigen::MatrixBase< DerivedF > &F, const Eigen::MatrixBase< DerivedE > &E, const Eigen::MatrixBase< DerivedoE > &oE, const Eigen::MatrixBase< DeriveduE > &uE, Eigen::PlainObjectBase< DeriveduV > &uV)
Move a scalar field defined on edges to vertices by averaging.