Template Function SimplifyLine::SimplifyRadialDist

Function Documentation

template<typename T, int dim>
Matrix<T> SimplifyLine::SimplifyRadialDist(const Matrix<T> &points, T max_distance)

Will perform simple radial distance simplification on a 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 points

  • max_distance: Maximum distance of point on line