From: Nathan H. <nj...@nj...> - 2015-03-27 20:00:28
|
I'm ok with this idea (indeed I thought it was already true). It is useful (as you know) to have the ability to represent a collection of segments for some algorithms. But I think that would be better modelled as a colleciton of Path (e.g. PathVector). njh On Fri, Mar 27, 2015 at 08:48:15PM +0100, Krzysztof Kosiński wrote: > Every method that modifies a Path has an optional argument called > "stitching" that determines whether additional segments are added to > make the path continuous. By default, stitching is not used. If there > are any discontinuities, calling some of Path will cause an exception > to be thrown, which in most cases means a crash. > > I want to make stitching mandatory. Since in some cases you want to be > sure that no stitching happens in your code, there will be an extra > boolean member variable. When set to true, it will throw an exception > whenever you try to insert a discontinuity into the path. > > Is everyone OK with this idea? > > Regards, Krzysztof > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for all > things parallel software development, from weekly thought leadership blogs to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Lib2geom-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/lib2geom-devel |