libigl v2.5.0
Loading...
Searching...
No Matches
ramer_douglas_peucker.h
Go to the documentation of this file.
1#ifndef IGL_RAMER_DOUGLAS_PEUCKER_H
2#define IGL_RAMER_DOUGLAS_PEUCKER_H
3#include "igl_inline.h"
4#include <Eigen/Core>
5namespace igl
6{
14 template <typename DerivedP, typename DerivedS, typename DerivedJ>
16 const Eigen::MatrixBase<DerivedP> & P,
17 const typename DerivedP::Scalar tol,
18 Eigen::PlainObjectBase<DerivedS> & S,
19 Eigen::PlainObjectBase<DerivedJ> & J);
25 template <
26 typename DerivedP,
27 typename DerivedS,
28 typename DerivedJ,
29 typename DerivedQ>
31 const Eigen::MatrixBase<DerivedP> & P,
32 const typename DerivedP::Scalar tol,
33 Eigen::PlainObjectBase<DerivedS> & S,
34 Eigen::PlainObjectBase<DerivedJ> & J,
35 Eigen::PlainObjectBase<DerivedQ> & Q);
36
37}
38#ifndef IGL_STATIC_LIBRARY
39# include "ramer_douglas_peucker.cpp"
40#endif
41#endif
#define IGL_INLINE
Definition igl_inline.h:15
Definition AABB.h:17
void ramer_douglas_peucker(const Eigen::MatrixBase< DerivedP > &P, const typename DerivedP::Scalar tol, Eigen::PlainObjectBase< DerivedS > &S, Eigen::PlainObjectBase< DerivedJ > &J)
Ramer-Douglas-Peucker piecewise-linear curve simplification.