|
|
@@ -1,24 +1,24 @@
|
|
|
// This file is part of libigl, a simple c++ geometry processing library.
|
|
|
-//
|
|
|
+//
|
|
|
// Copyright (C) 2013 Alec Jacobson <[email protected]>
|
|
|
-//
|
|
|
-// This Source Code Form is subject to the terms of the Mozilla Public License
|
|
|
-// v. 2.0. If a copy of the MPL was not distributed with this file, You can
|
|
|
+//
|
|
|
+// This Source Code Form is subject to the terms of the Mozilla Public License
|
|
|
+// v. 2.0. If a copy of the MPL was not distributed with this file, You can
|
|
|
// obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
#ifndef IGL_AVERAGE_ONTO_VERTICES_H
|
|
|
#define IGL_AVERAGE_ONTO_VERTICES_H
|
|
|
#include "igl_inline.h"
|
|
|
|
|
|
#include <Eigen/Dense>
|
|
|
-namespace igl
|
|
|
+namespace igl
|
|
|
{
|
|
|
- // average_onto_vertices
|
|
|
+ // average_onto_vertices
|
|
|
// Move a scalar field defined on faces to vertices by averaging
|
|
|
//
|
|
|
// Input:
|
|
|
// V,F: mesh
|
|
|
// S: scalar field defined on faces, Fx1
|
|
|
- //
|
|
|
+ //
|
|
|
// Output:
|
|
|
// SV: scalar field defined on vertices
|
|
|
template<typename DerivedV,typename DerivedF,typename DerivedS,typename DerivedSV>
|