| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- // This file is part of libigl, a simple c++ geometry processing library.
- //
- // Copyright (C) 2020 Alec Jacobson <[email protected]>
- //
- // 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 "decimate_trivial_callbacks.h"
- IGL_INLINE void igl::decimate_trivial_callbacks(
- decimate_pre_collapse_callback & always_try,
- decimate_post_collapse_callback & never_care)
- {
- always_try = [](
- const Eigen::MatrixXd & ,/*V*/
- const Eigen::MatrixXi & ,/*F*/
- const Eigen::MatrixXi & ,/*E*/
- const Eigen::VectorXi & ,/*EMAP*/
- const Eigen::MatrixXi & ,/*EF*/
- const Eigen::MatrixXi & ,/*EI*/
- const igl::min_heap< std::tuple<double,int,int> > & ,/*Q*/
- const Eigen::VectorXi & ,/*EQ*/
- const Eigen::MatrixXd & ,/*C*/
- const int /*e*/
- ) -> bool { return true;};
- never_care = [](
- const Eigen::MatrixXd & ,/*V*/
- const Eigen::MatrixXi & ,/*F*/
- const Eigen::MatrixXi & ,/*E*/
- const Eigen::VectorXi & ,/*EMAP*/
- const Eigen::MatrixXi & ,/*EF*/
- const Eigen::MatrixXi & ,/*EI*/
- const igl::min_heap< std::tuple<double,int,int> > & ,/*Q*/
- const Eigen::VectorXi & ,/*EQ*/
- const Eigen::MatrixXd & ,/*C*/
- const int ,/*e*/
- const int ,/*e1*/
- const int ,/*e2*/
- const int ,/*f1*/
- const int ,/*f2*/
- const bool /*collapsed*/
- )-> void { };
- }
|