libigl v2.5.0
Loading...
Searching...
No Matches
extract_feature.h
Go to the documentation of this file.
1// This file is part of libigl, a simple c++ geometry processing library.
2//
3// Copyright (C) 2016 Qingnan Zhou <qnzhou@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
9#ifndef IGL_COPYLEFT_CGAL_EXTRACT_FEATURE_H
10#define IGL_COPYLEFT_CGAL_EXTRACT_FEATURE_H
11#include "../../igl_inline.h"
12#include <Eigen/Core>
13#include <vector>
14
15namespace igl
16{
17 namespace copyleft
18 {
19 namespace cgal
20 {
39 template <
40 typename DerivedV,
41 typename DerivedF,
42 typename Derivedfeature_edges>
44 const Eigen::PlainObjectBase<DerivedV>& V,
45 const Eigen::PlainObjectBase<DerivedF>& F,
46 const double tol,
47 Eigen::PlainObjectBase<Derivedfeature_edges>& feature_edges);
48 // \overload
49 // @param[in] uE #uE by 2 array of undirected edges.
50 // @param[in] uE2E #uE list of lists mapping undirected edges to all
51 // corresponding directed edges.
52 template <
53 typename DerivedV,
54 typename DerivedF,
55 typename DeriveduE,
56 typename Derivedfeature_edges
57 >
59 const Eigen::PlainObjectBase<DerivedV>& V,
60 const Eigen::PlainObjectBase<DerivedF>& F,
61 const double tol,
62 const Eigen::PlainObjectBase<DeriveduE>& uE,
63 const std::vector<std::vector<typename DeriveduE::Scalar> >& uE2E,
64 Eigen::PlainObjectBase<Derivedfeature_edges>& feature_edges);
65 }
66 }
67}
68
69#ifndef IGL_STATIC_LIBRARY
70# include "extract_feature.cpp"
71#endif
72#endif
#define IGL_INLINE
Definition igl_inline.h:15
void extract_feature(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedF > &F, const double tol, Eigen::PlainObjectBase< Derivedfeature_edges > &feature_edges)
Extract feature edges based on dihedral angle.
Definition AABB.h:17