cut_mesh_from_singularities.h 1.3 KB

1234567891011121314151617181920212223242526272829
  1. // This file is part of libigl, a simple c++ geometry processing library.
  2. //
  3. // Copyright (C) 2014 Daniele Panozzo <daniele.panozzo@gmail.com>, Olga Diamanti <olga.diam@gmail.com>
  4. //
  5. // This Source Code Form is subject to the terms of the Mozilla Public License
  6. // v. 2.0. If a copy of the MPL was not distributed with this file, You can
  7. // obtain one at http://mozilla.org/MPL/2.0/.
  8. #ifndef IGL_CUT_MESH_FROM_SINGULARITIES_H
  9. #define IGL_CUT_MESH_FROM_SINGULARITIES_H
  10. #include "igl_inline.h"
  11. #include <Eigen/Core>
  12. namespace igl
  13. {
  14. //todo
  15. template <typename DerivedV, typename DerivedF, typename DerivedM, typename DerivedS, typename DerivedO>
  16. IGL_INLINE void cut_mesh_from_singularities(const Eigen::PlainObjectBase<DerivedV> &V,
  17. const Eigen::PlainObjectBase<DerivedF> &F,
  18. const Eigen::PlainObjectBase<DerivedM> &Handle_MMatch,
  19. const Eigen::PlainObjectBase<DerivedS> &isSingularity,
  20. const Eigen::PlainObjectBase<DerivedS> &singularityIndex,
  21. Eigen::PlainObjectBase<DerivedO> &Handle_Seams);
  22. }
  23. #ifdef IGL_HEADER_ONLY
  24. #include "cut_mesh_from_singularities.cpp"
  25. #endif
  26. #endif