From: J. E. <jbc...@sw...> - 2013-11-06 00:05:54
|
Yep, I only meant std::vector as an example. Indeed, that code should use much more of the types already present in 2geom. - Johan ----- Reply message ----- From: "Krzysztof Kosiński" <twe...@gm...> To: "Johan Engelen" <jbc...@sw...> Cc: "Lib2geom-Devel" <lib...@li...> Subject: [Lib2geom-devel] C-arrays Date: Wed, Nov 6, 2013 00:46 2013/11/5 Johan Engelen <jbc...@sw...>: > Hi all, > I just had a look at bezier-utils.cpp and was shocked to see such an > amount of C-array usage. (even newing/deleting them, etc). Converting > this to std::vector is going to be quite some task. :( > But it will be worth it :-) What about using Geom::BezierCurve instead of std::vector where applicable? Regards, Krzysztof |