In Java, how can I read in the d
attribute of an SVG path, and discretize it such that all Bezier curves are properly subdivided into discrete points, allowing me to specify a threshold to account for sharp angles?
The only solution I've found after a ton of searching is to use Apache Batik to traverse the path in short intervals, and sample points uniformly, but that generates a bunch of unnecessary points along straight lines and doesn't handle the case of sharp angles.