// 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_BOUNDARY_VERTICES_SORTED_H #define IGL_BOUNDARY_VERTICES_SORTED_H #include #include #include namespace igl { // Compute sorted list of boundary vertices for a manifold 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); } #ifndef IGL_STATIC_LIBRARY # include "boundary_vertices_sorted.cpp" #endif #endif