[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).
This commit is contained in:
Anuj Verma 2020-08-18 17:49:56 +05:30 committed by Werner Lemberg
parent c918b54f25
commit 81e32986ca
2 changed files with 1091 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2020-08-18 Anuj Verma <anujv@iitbhilai.ac.in>
[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).
2020-08-18 Anuj Verma <anujv@iitbhilai.ac.in>
[sdf] Add function to resolve corner distances.

File diff suppressed because it is too large Load Diff