From: mgsloan <mg...@gm...> - 2007-04-18 00:44:00
|
I think it's much more pure to not include a matrix with all objects. This has actually given me an idea - a Transformed<> template! may be useful in inkscape, anyway. The main reason for this is that it removes matrices and related code from seperate concepts, like paths , curves, etc. Another reason is possible future optimizations - immutable objects might memoize conversions, for example. On 4/17/07, MenTaLguY <me...@ry...> wrote: > > On Tue, 17 Apr 2007 08:35:12 -0700, "Sunburned Surveyor" < > sun...@gm...> wrote: > > For a spatial index to work won't I need to have geometries on a common > > coordinate system? > > Yes. Each spatial index would need to have its own "global" coordinate > system, and either all geometric objects in the index would be assumed to be > in that coordinate system, or each object's entry in the index would need to > be accompanied by a transformation from the object's coordinate system to > the index's. > > I'm not sure which is better really. > > -mental > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Lib2geom-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/lib2geom-devel > |