// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2014 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 "volume.h" template < typename DerivedV, typename DerivedT, typename Derivedvol> IGL_INLINE void igl::volume( Eigen::PlainObjectBase& V, Eigen::PlainObjectBase& T, Eigen::PlainObjectBase& vol) { using namespace Eigen; const int m = T.rows(); vol.resize(m,1); for(int t = 0;t IGL_INLINE void igl::volume( Eigen::PlainObjectBase& L, Eigen::PlainObjectBase& vol) { using namespace Eigen; const int m = L.rows(); typedef typename Derivedvol::Scalar ScalarS; vol.resize(m,1); for(int t = 0;t, Eigen::Matrix >(Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&); #endif