Hi Krzysz, I was thinking about some Visitor pattern for traversing a Path's Curves, e.g. to get rid of all the dynamic_casting going on when converting curves to svgd. What do you think?
cheers, Johan
On 25-6-2014 20:19, Krzysztof KosiĆski wrote:
2014-06-25 17:41 GMT+02:00 Josh Andler <scislac@...400...>:
Hey Krzysztof,
Thank you for the update. After playing with that cgal toy here, it is indeed disappointing... definitely a shame their implementation wasn't more robust. Given that the first half of GSoC has had a lot of unexpected time eaten up by University stuff, in addition to API related tasks you've designated, would you be willing to put forth an estimated timeline for what you would expect to accomplish in the second half?
In the next two days, I want to complete some of the path API rewrite. I want to do at least some of the following:
- Rename Path to SubPath,
- Rename PathVector to Path,
- Convert Path to a real class,
- Improve PathSink and related classes,
- Convert the pathv_to_linear_and_cubic_beziers() function to a
derived PathSink and put it in 2Geom, 6. Create a more efficient storage format for curve data (I'll post the details in the 2Geom mailing list).
After that, I'll have one more university assignment to complete, and I'm attending an NMR-related conference between June 29 and July 4. Once I return, the rough plan is:
- Create generic curve intersection APIs.
- Improve the APIs for determining winding numbers.
- Implement a sweepline-based intersector for collections of curves.
- Based on the above, implement uncrossing.
Further work will depend on how much success I have with uncrossing and handling its corner cases.
I estimate that the first three items (intersection, winding, sweepline intersector) should be done until mid-July.
Regards, Krzysztof
Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel