0

This task is similar to tools like FreePen in Photoshop and etc.

A set of points (we get them from mouse input) needed to be interpolated into optimal count of splines.

I just don't know where to look.

YanDaik
  • 167
  • 1
  • 10

1 Answers1

1

Probably, you need to reduce number of points at first. There is Douglas–Peucker algorithm to simplify polylines. C++ implementation

MBo
  • 77,366
  • 5
  • 53
  • 86