// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2014 Daniele Panozzo // // 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 "vertex_triangle_adjacency.h" template IGL_INLINE void igl::vertex_triangle_adjacency( const typename DerivedF::Scalar n, const Eigen::PlainObjectBase& F, std::vector >& VF, std::vector >& VFi) { VF.clear(); VFi.clear(); VF.resize(n); VFi.resize(n); typedef typename DerivedF::Index Index; for(Index fi=0; fi IGL_INLINE void igl::vertex_triangle_adjacency( const Eigen::PlainObjectBase& V, const Eigen::PlainObjectBase& F, std::vector >& VF, std::vector >& VFi) { return vertex_triangle_adjacency(V.rows(),F,VF,VFi); } #ifdef IGL_STATIC_LIBRARY // Explicit template specialization // generated by autoexplicit.sh template void igl::vertex_triangle_adjacency, Eigen::Matrix, int>(Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); template void igl::vertex_triangle_adjacency, Eigen::Matrix, unsigned int>(Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); template void igl::vertex_triangle_adjacency, Eigen::Matrix, int>(Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); template void igl::vertex_triangle_adjacency, long, long>(Eigen::Matrix::Scalar, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); template void igl::vertex_triangle_adjacency, long, long>(Eigen::Matrix::Scalar, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); template void igl::vertex_triangle_adjacency, unsigned long, unsigned long>(Eigen::Matrix::Scalar, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); template void igl::vertex_triangle_adjacency, Eigen::Matrix, int>(Eigen::PlainObjectBase > const&, Eigen::PlainObjectBase > const&, std::vector >, std::allocator > > >&, std::vector >, std::allocator > > >&); #endif