// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2022 Vladimir S. FONOV // Copyright (C) 2023 Alec Jacobson // // 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 "fast_find_self_intersections.h" #include "fast_find_intersections.h" template < typename DerivedV, typename DerivedF, typename DerivedIF, typename DerivedEV, typename DerivedEE, typename DerivedEI> IGL_INLINE bool igl::fast_find_self_intersections( const Eigen::MatrixBase & V, const Eigen::MatrixBase & F, const bool detect_only, const bool first_only, Eigen::PlainObjectBase & IF, Eigen::PlainObjectBase & EV, Eigen::PlainObjectBase & EE, Eigen::PlainObjectBase & EI) { // This is really just a wrapper around fast_find_intersections which will // internally detect that V,F are the second set return igl::fast_find_intersections( V,F,V,F,detect_only,first_only,IF,EV,EE,EI); } #ifdef IGL_STATIC_LIBRARY // Explicit template instantiation // generated by autoexplicit.sh template bool igl::fast_find_self_intersections, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix, Eigen::Matrix >(Eigen::MatrixBase > const&, Eigen::MatrixBase > const&, bool, bool, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&, Eigen::PlainObjectBase >&); #endif