Template Function SimplifyLine::DouglasPeucker¶
Defined in File SimplifyLine.hpp
Function Documentation¶
-
template<typename
T
, intdim
>
Matrix<T>SimplifyLine
::
DouglasPeucker
(const Matrix<T> &points, T max_distance)¶ Will perform Douglas Peucker Simplication on the line.
- Return
Matrix<T> The simplified line
- Template Parameters
T
:dim
: The dimesion of the line, 2D or 3D
- Parameters
points
: Matrix of 2D or 3D pointsmax_distance
: Maximum distance of point on line