[postgis-devel] Fixed Box2d and Box3d

strk at refractions.net strk at refractions.net
Sun Jan 30 01:41:43 PST 2005


Patch committed, all tests pass here against 1.0.0.
Against 0.9.2 I have 24 tests failing (2 box2d + 22 EMPTY).

--strk;

On Fri, Jan 28, 2005 at 06:36:28PM +0100, Markus Schaber wrote:
> Hi,
> 
> Today, I fixed reworked the Java Box2d and Box3d code which was totally
> broken. To avoid this in the future, I also added a regression test
> program for boxes.
> 
> As both box variants share a lot of code, I refactored all of the code
> into an abstract superclass. Additionally, I renamed PGBox to PGBox2d
> for better consistency with PostgreSQL type names, as strk suggested.
> 
> I attached the Box classes, and the regression test, as well as a patch
> that updates Makefile to contain the tests, and also fixes my stupid
> copy/paste bugs in DriverWrapper.java.
> 
> On my machine, PostGIS 1.0CVS passess all tests, and both 0.9 as well as
> 0.8.1 fail the tests for box2d, which is no surprise. :-)
> 
> Happy testing,
> Markus
> --
> markus schaber | dipl. informatiker
> logi-track ag | rennweg 14-16 | ch 8001 zürich
> phone +41-43-888 62 52 | fax +41-43-888 62 53
> mailto:schabios at logi-track.com | www.logi-track.com









> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel




More information about the postgis-devel mailing list