[geos-commits] r2630 - trunk/source/geom

svn_geos at osgeo.org svn_geos at osgeo.org
Mon Sep 28 05:03:57 EDT 2009


Author: strk
Date: 2009-09-28 05:03:53 -0400 (Mon, 28 Sep 2009)
New Revision: 2630

Modified:
   trunk/source/geom/PrecisionModel.cpp
Log:
Add offsets to PrecisionModel text output

Modified: trunk/source/geom/PrecisionModel.cpp
===================================================================
--- trunk/source/geom/PrecisionModel.cpp	2009-09-28 07:02:02 UTC (rev 2629)
+++ trunk/source/geom/PrecisionModel.cpp	2009-09-28 09:03:53 UTC (rev 2630)
@@ -201,7 +201,10 @@
   	} else if (modelType == FLOATING_SINGLE) {
   		s<<"Floating-Single";
   	} else if (modelType == FIXED) {
-		s<<"Fixed (Scale="<<getScale()<<")";
+		s <<"Fixed (Scale=" << getScale()
+		  << " OffsetX=" << getOffsetX()
+		  << " OffsetY=" << getOffsetY()
+		  << ")";
 	} else {
 		s<<"UNKNOWN";
 	}



More information about the geos-commits mailing list