// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2016 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 "writeBF.h" #include #include template < typename DerivedWI, typename DerivedP, typename DerivedO> IGL_INLINE bool igl::writeBF( const std::string & filename, const Eigen::PlainObjectBase & WI, const Eigen::PlainObjectBase & P, const Eigen::PlainObjectBase & O) { using namespace Eigen; using namespace std; const int n = WI.rows(); assert(n == WI.rows() && "WI must have n rows"); assert(n == P.rows() && "P must have n rows"); assert(n == O.rows() && "O must have n rows"); MatrixXd WIPO(n,1+1+3); for(int i = 0;i, Eigen::Matrix, Eigen::Matrix >(std::basic_string, std::allocator > const&, Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&); #endif