// 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 "all_pairs_distances.h" #include template IGL_INLINE void igl::all_pairs_distances( const Mat & V, const Mat & U, const bool squared, Mat & D) { // dimension should be the same assert(V.cols() == U.cols()); // resize output D.resize(V.rows(),U.rows()); for(int i = 0;i >(Eigen::Matrix const&, Eigen::Matrix const&, bool, Eigen::Matrix&); #endif