I needed some functionality to print the transformation matrix, very simple
patch - it might be useful to others.
It prints out the matrix along with a small note:
Transformation Matrix
---------------------
28155.882288 0.013530 1.002469
-5301.399323 0.997547 -0.009172
---------------------
the patch is attached.
Perhaps diagnostics like this might be a general use.
--
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341
Index: lib/vector/transform/transform.c
===================================================================
RCS file: /home/grass/grassrepository/grass6/lib/vector/transform/transform.c,v
retrieving revision 1.2
diff -r1.2 transform.c
146a147,152
> printf("Transformation Matrix\n");
> printf("------------------------------------------\n");
> printf("%f %f %f \n", B0, B1, B2);
> printf("%f %f %f \n", B3, B4, B5);
> printf("------------------------------------------\n");
>
_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev