123456789101112131415161718192021222324252627282930313233343536 |
- // This file is part of libigl, a simple c++ geometry processing library.
- //
- // Copyright (C) 2014 Stefan Brugger <stefanbrugger@gmail.com>
- //
- // 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 <igl/igl_inline.h>
- #include <Eigen/Dense>
- #include <vector>
- 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_loop(
- const Eigen::MatrixXd& V,
- const Eigen::MatrixXi& F,
- Eigen::VectorXi& bnd);
- }
- #ifndef IGL_STATIC_LIBRARY
- # include "boundary_loop.cpp"
- #endif
- #endif
|