libigl v2.5.0
Loading...
Searching...
No Matches
unique_edge_map.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) 2015 Alec Jacobson <alecjacobson@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_UNIQUE_EDGE_MAP_H
9#define IGL_UNIQUE_EDGE_MAP_H
10#include "igl_inline.h"
11#include <Eigen/Dense>
12#include <vector>
13namespace igl
14{
28 template <
29 typename DerivedF,
30 typename DerivedE,
31 typename DeriveduE,
32 typename DerivedEMAP,
33 typename uE2EType>
35 const Eigen::MatrixBase<DerivedF> & F,
36 Eigen::PlainObjectBase<DerivedE> & E,
37 Eigen::PlainObjectBase<DeriveduE> & uE,
38 Eigen::PlainObjectBase<DerivedEMAP> & EMAP,
39 std::vector<std::vector<uE2EType> > & uE2E);
41 template <
42 typename DerivedF,
43 typename DerivedE,
44 typename DeriveduE,
45 typename DerivedEMAP>
47 const Eigen::MatrixBase<DerivedF> & F,
48 Eigen::PlainObjectBase<DerivedE> & E,
49 Eigen::PlainObjectBase<DeriveduE> & uE,
50 Eigen::PlainObjectBase<DerivedEMAP> & EMAP);
87 template <
88 typename DerivedF,
89 typename DerivedE,
90 typename DeriveduE,
91 typename DerivedEMAP,
92 typename DeriveduEC,
93 typename DeriveduEE>
95 const Eigen::MatrixBase<DerivedF> & F,
96 Eigen::PlainObjectBase<DerivedE> & E,
97 Eigen::PlainObjectBase<DeriveduE> & uE,
98 Eigen::PlainObjectBase<DerivedEMAP> & EMAP,
99 Eigen::PlainObjectBase<DeriveduEC> & uEC,
100 Eigen::PlainObjectBase<DeriveduEE> & uEE);
101
102}
103#ifndef IGL_STATIC_LIBRARY
104# include "unique_edge_map.cpp"
105#endif
106
107#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void unique_edge_map(const Eigen::MatrixBase< DerivedF > &F, Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DeriveduE > &uE, Eigen::PlainObjectBase< DerivedEMAP > &EMAP, std::vector< std::vector< uE2EType > > &uE2E)
Construct relationships between facet "half"-(or rather "viewed")-edges E to unique edges of the mesh...