libigl v2.5.0
Loading...
Searching...
No Matches
snap_rounding.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 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_COPYLEFT_CGAL_SNAP_ROUNDING_H
9#define IGL_COPYLEFT_CGAL_SNAP_ROUNDING_H
10
11#include "../../igl_inline.h"
12#include <Eigen/Core>
13
14namespace igl
15{
16 namespace copyleft
17 {
18 namespace cgal
19 {
29 template <
30 typename DerivedV,
31 typename DerivedE,
32 typename DerivedVI,
33 typename DerivedEI,
34 typename DerivedJ>
36 const Eigen::PlainObjectBase<DerivedV> & V,
37 const Eigen::PlainObjectBase<DerivedE> & E,
38 Eigen::PlainObjectBase<DerivedVI> & VI,
39 Eigen::PlainObjectBase<DerivedEI> & EI,
40 Eigen::PlainObjectBase<DerivedJ> & J);
41 }
42 }
43}
44
45#ifndef IGL_STATIC_LIBRARY
46# include "snap_rounding.cpp"
47#endif
48
49#endif
#define IGL_INLINE
Definition igl_inline.h:15
void snap_rounding(const Eigen::PlainObjectBase< DerivedV > &V, const Eigen::PlainObjectBase< DerivedE > &E, Eigen::PlainObjectBase< DerivedVI > &VI, Eigen::PlainObjectBase< DerivedEI > &EI, Eigen::PlainObjectBase< DerivedJ > &J)
Snap a list of possible intersecting segments with endpoints in any precision to the integer grid.
Definition AABB.h:17