// This file is part of libigl, a simple c++ geometry processing library. // // Copyright (C) 2015 Qingnan Zhou // // 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_CGAL_EXTRACT_CELLS #define IGL_CGAL_EXTRACT_CELLS #include "../igl_inline.h" #include namespace igl { namespace cgal { template< typename DerivedV, typename DerivedF, typename DerivedP, typename DeriveduE, typename uE2EType, typename DerivedEMAP, typename DerivedC > IGL_INLINE size_t extract_cells_single_component( const Eigen::PlainObjectBase& V, const Eigen::PlainObjectBase& F, const Eigen::PlainObjectBase& P, const Eigen::PlainObjectBase& uE, const std::vector >& uE2E, const Eigen::PlainObjectBase& EMAP, Eigen::PlainObjectBase& cells); template< typename DerivedV, typename DerivedF, typename DerivedP, typename DerivedE, typename DeriveduE, typename uE2EType, typename DerivedEMAP, typename DerivedC > IGL_INLINE size_t extract_cells( const Eigen::PlainObjectBase& V, const Eigen::PlainObjectBase& F, const Eigen::PlainObjectBase& P, const Eigen::PlainObjectBase& E, const Eigen::PlainObjectBase& uE, const std::vector >& uE2E, const Eigen::PlainObjectBase& EMAP, Eigen::PlainObjectBase& cells); template< typename DerivedV, typename DerivedF, typename DerivedC > IGL_INLINE size_t extract_cells( const Eigen::PlainObjectBase& V, const Eigen::PlainObjectBase& F, Eigen::PlainObjectBase& cells); } } #ifndef IGL_STATIC_LIBRARY # include "extract_cells.cpp" #endif #endif