// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2014 Stefan Brugger // // 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/. #ifndef IGL_BOUNDARYVERTICESSORTED_H #define IGL_BOUNDARYVERTICESSORTED_H #include #include #include namespace igl { // Compute sorted list of boundary vertices for mesh with single boundary. // // Inputs: // V #V by dim list of mesh vertex positions // F #V by dim list of mesh faces // Outputs: // bnd sorted list of boundary vertex indices IGL_INLINE void boundary_vertices_sorted( const Eigen::MatrixXd& V, const Eigen::MatrixXi& F, Eigen::VectorXi& bnd); } #ifdef IGL_HEADER_ONLY # include "boundary_vertices_sorted.cpp" #endif #endif