// 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 "is_border_vertex.h" #include #include "triangle_triangle_adjacency.h" template IGL_INLINE std::vector igl::is_border_vertex( const Eigen::MatrixBase &F) { DerivedF FF; igl::triangle_triangle_adjacency(F,FF); std::vector ret(F.maxCoeff()+1); for(unsigned i=0; i IGL_INLINE std::vector igl::is_border_vertex( const Eigen::MatrixBase &/*V*/, const Eigen::MatrixBase &F) { return igl::is_border_vertex(F); } #ifdef IGL_STATIC_LIBRARY // Explicit template instantiation template std::vector > igl::is_border_vertex, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&); template std::vector > igl::is_border_vertex, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&); template std::vector > igl::is_border_vertex, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&); #endif