commit | 81e32986ca6dd4bc6bba6cccaa0738020ee10d3c | [log] [tgz] |
---|---|---|
author | Anuj Verma <anujv@iitbhilai.ac.in> | Tue Aug 18 17:49:56 2020 +0530 |
committer | Werner Lemberg <wl@gnu.org> | Thu Dec 24 07:23:48 2020 +0100 |
tree | 8083e113530a709661e1412c7f7f2574d032b53a | |
parent | c918b54f25340dcf1a6bf57f747f545ac1f30568 [diff] |
[sdf] Add shortest distance finding functions. * src/sdf/ftsdf.c (get_min_distance_line, get_min_distance_conic, get_min_distance_cubic): New functions. Note that `get_min_distance_conic` comes with two implementations (using an analytical and an iterative method, to be controlled with the `USE_NEWTON_FOR_CONIC` macro).