// 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 "edges.h" #include template IGL_INLINE double igl::avg_edge_length( const Eigen::MatrixBase& V, const Eigen::MatrixBase& F) { typedef typename DerivedF::Scalar Index; Eigen::Matrix E; igl::edges(F, E); double avg = 0; 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