libigl v2.5.0
Loading...
Searching...
No Matches
remove_duplicate_vertices.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) 2013 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_REMOVE_DUPLICATE_VERTICES_H
9#define IGL_REMOVE_DUPLICATE_VERTICES_H
10#include "igl_inline.h"
11#include <Eigen/Dense>
12namespace igl
13{
23 template <
24 typename DerivedV,
25 typename DerivedSV,
26 typename DerivedSVI,
27 typename DerivedSVJ>
29 const Eigen::MatrixBase<DerivedV>& V,
30 const double epsilon,
31 Eigen::PlainObjectBase<DerivedSV>& SV,
32 Eigen::PlainObjectBase<DerivedSVI>& SVI,
33 Eigen::PlainObjectBase<DerivedSVJ>& SVJ);
37 template <
38 typename DerivedV,
39 typename DerivedF,
40 typename DerivedSV,
41 typename DerivedSVI,
42 typename DerivedSVJ,
43 typename DerivedSF>
45 const Eigen::MatrixBase<DerivedV>& V,
46 const Eigen::MatrixBase<DerivedF>& F,
47 const double epsilon,
48 Eigen::PlainObjectBase<DerivedSV>& SV,
49 Eigen::PlainObjectBase<DerivedSVI>& SVI,
50 Eigen::PlainObjectBase<DerivedSVJ>& SVJ,
51 Eigen::PlainObjectBase<DerivedSF>& SF);
52}
53
54#ifndef IGL_STATIC_LIBRARY
55# include "remove_duplicate_vertices.cpp"
56#endif
57
58#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void remove_duplicate_vertices(const Eigen::MatrixBase< DerivedV > &V, const double epsilon, Eigen::PlainObjectBase< DerivedSV > &SV, Eigen::PlainObjectBase< DerivedSVI > &SVI, Eigen::PlainObjectBase< DerivedSVJ > &SVJ)
Remove duplicate vertices upto a uniqueness tolerance (epsilon)