Template Function SimplifyLine::SimplifyLine¶
Defined in File SimplifyLine.hpp
Function Documentation¶
-
template<typename
T
, intdim
= 2>
Matrix<T>SimplifyLine
::
SimplifyLine
(const Matrix<T> &points, T max_distance, bool high_quality = true)¶ Will simplify a 2D or 3D 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 linehigh_quality
: Create high quality simplification, quality comes with increased computation time.