// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2013 Alec Jacobson // // 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/. #include "avg_edge_length.h" #include template IGL_INLINE double igl::avg_edge_length( const Eigen::MatrixBase& V, const Eigen::MatrixBase& F) { double avg = 0; long int count = 0; // Augh. Technically this is double counting interior edges... for (unsigned i=0;i, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&); template double igl::avg_edge_length, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&); // generated by autoexplicit.sh #endif