1#ifndef IGL_RAMER_DOUGLAS_PEUCKER_H
2#define IGL_RAMER_DOUGLAS_PEUCKER_H
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);
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);
38#ifndef IGL_STATIC_LIBRARY
39# include "ramer_douglas_peucker.cpp"
#define IGL_INLINE
Definition igl_inline.h:15
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.